Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 6d6d9de88262a81231c58d129c656a8e7f7846ef..9e59ff47e773b6a0e7ca4e817014debb33b489c1 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -1481,6 +1481,8 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
VisitForStackValue(value); |
DCHECK(property->emit_store()); |
__ CallRuntime(Runtime::kInternalSetPrototype); |
+ PrepareForBailoutForId(expr->GetIdForPropertySet(property_index), |
+ NO_REGISTERS); |
break; |
case ObjectLiteral::Property::GETTER: |
if (property->emit_store()) { |
@@ -1535,8 +1537,10 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
VisitForStackValue(value); |
DCHECK(property->emit_store()); |
__ CallRuntime(Runtime::kInternalSetPrototype); |
+ PrepareForBailoutForId(expr->GetIdForPropertySet(property_index), |
+ NO_REGISTERS); |
} else { |
- EmitPropertyKey(property, expr->GetIdForProperty(property_index)); |
+ EmitPropertyKey(property, expr->GetIdForPropertyName(property_index)); |
VisitForStackValue(value); |
if (NeedsHomeObject(value)) { |
EmitSetHomeObject(value, 2, property->GetSlot()); |