| Index: src/full-codegen/arm/full-codegen-arm.cc
|
| diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc
|
| index a928289c61d6d728d02e62fcf3144615cc201c28..a1d7bff863a4f7961a6ca01427131b5c9013cdaf 100644
|
| --- a/src/full-codegen/arm/full-codegen-arm.cc
|
| +++ b/src/full-codegen/arm/full-codegen-arm.cc
|
| @@ -1571,6 +1571,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:
|
| @@ -1627,8 +1629,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());
|
|
|