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