Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index a16e16e774d73f0443e5bf62fa001d732ccc0470..7bf2287200e00ab76ab8b781c93238620597ca85 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -1565,6 +1565,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()) { |
@@ -1620,8 +1622,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()); |