Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 31df789f57673006822f874413adfc36a84ad246..11a67b7adb2a44bf756c0d9d26836905e440389b 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -1705,9 +1705,9 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
VisitForStackValue(key); |
VisitForStackValue(value); |
if (property->emit_store()) { |
- __ li(a0, Operand(Smi::FromInt(NONE))); // PropertyAttributes. |
+ __ li(a0, Operand(Smi::FromInt(SLOPPY))); // PropertyAttributes. |
__ push(a0); |
- __ CallRuntime(Runtime::kAddProperty, 4); |
+ __ CallRuntime(Runtime::kSetProperty, 4); |
} else { |
__ Drop(3); |
} |