Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index 13a67925129263989518dd6de65f1aecdbb1fa13..ed917433a69e4a3d568d10a042ebbfbc0c20a816 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -1721,7 +1721,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
__ Drop(2); |
} |
} else { |
- EmitPropertyKey(property); |
+ EmitPropertyKey(property, expr->GetIdForProperty(property_index)); |
VisitForStackValue(value); |
switch (property->kind()) { |
@@ -2450,7 +2450,7 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) { |
} else { |
__ push(Operand(esp, 0)); // prototype |
} |
- EmitPropertyKey(property); |
+ EmitPropertyKey(property, lit->GetIdForProperty(i)); |
VisitForStackValue(value); |
EmitSetHomeObjectIfNeeded(value, 2); |