Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 7b169bcdee9e86a131e8059671f5982b64d5fc3c..4bcc215b60ab893a9283df01d3fa73407518112a 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -1791,7 +1791,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
__ Drop(2); |
} |
} else { |
- EmitPropertyKey(property); |
+ EmitPropertyKey(property, expr->GetIdForProperty(property_index)); |
VisitForStackValue(value); |
switch (property->kind()) { |
@@ -2247,7 +2247,7 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) { |
__ Peek(scratch, 0); // prototype |
} |
__ Push(scratch); |
- EmitPropertyKey(property); |
+ EmitPropertyKey(property, lit->GetIdForProperty(i)); |
VisitForStackValue(value); |
EmitSetHomeObjectIfNeeded(value, 2); |