Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 893de05eea90b44c7efa880ce5aa3125288d101e..d9de9ddb14a9c0a26efa40d2428c84cc2a5dbb58 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1810,7 +1810,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
__ Drop(2); |
} |
} else { |
- EmitPropertyKey(property); |
+ EmitPropertyKey(property, expr->GetIdForProperty(property_index)); |
VisitForStackValue(value); |
switch (property->kind()) { |
@@ -2550,7 +2550,7 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) { |
__ ldr(scratch, MemOperand(sp, 0)); // prototype |
} |
__ push(scratch); |
- EmitPropertyKey(property); |
+ EmitPropertyKey(property, lit->GetIdForProperty(i)); |
VisitForStackValue(value); |
EmitSetHomeObjectIfNeeded(value, 2); |