Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 82e700b4e0d7c164eab30684d4f445c88143a681..af4ffef2a0b44e5cea32eda59785e2c69e839d58 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -1529,6 +1529,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()) { |
@@ -1583,8 +1585,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()); |