Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index a0a2f693047cdc7ba44c78481ba8eac1c5263b82..d8ae372e28f10ed1e46217a4a2006302309563b3 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.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()); |