diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc index 31df789f57..11a67b7adb 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); }