Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index bb6beec95da1222bc774bb92facd3b60e2b714d1..4255d66868cd6f4fd8dee95057e99ae2ef7695b9 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1708,9 +1708,9 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
VisitForStackValue(key); |
VisitForStackValue(value); |
if (property->emit_store()) { |
- __ mov(r0, Operand(Smi::FromInt(NONE))); // PropertyAttributes |
+ __ mov(r0, Operand(Smi::FromInt(SLOPPY))); // PropertyAttributes |
__ push(r0); |
- __ CallRuntime(Runtime::kAddProperty, 4); |
+ __ CallRuntime(Runtime::kSetProperty, 4); |
} else { |
__ Drop(3); |
} |