Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 9baeaa74cd69581d762fe89308f7f1dfb0a285a3..f566fe34a0baadc0de201870da5b42a9cf9025e4 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -1795,7 +1795,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
__ Drop(2); |
} |
} else { |
- EmitPropertyKey(property); |
+ EmitPropertyKey(property, expr->GetIdForProperty(property_index)); |
VisitForStackValue(value); |
switch (property->kind()) { |
@@ -2528,7 +2528,7 @@ void FullCodeGenerator::EmitClassDefineProperties(ClassLiteral* lit) { |
__ lw(scratch, MemOperand(sp, 0)); // prototype |
} |
__ push(scratch); |
- EmitPropertyKey(property); |
+ EmitPropertyKey(property, lit->GetIdForProperty(i)); |
VisitForStackValue(value); |
EmitSetHomeObjectIfNeeded(value, 2); |