Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 7430cbd39bc7b3e3ae86dfd4842cd89c246b6f3e..406fa14a821143966cecc3142334b9c7fc1d06f9 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -1489,6 +1489,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()) { |
@@ -1543,8 +1545,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()); |