Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index fbe41fca273693d262c54197fc065cccab0f76fb..e9f13c199eabfe3417987aecdfb87777d2fd71cd 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -1646,8 +1646,8 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
VisitForStackValue(key); |
VisitForStackValue(value); |
if (property->emit_store()) { |
- __ push(Immediate(Smi::FromInt(NONE))); // PropertyAttributes |
- __ CallRuntime(Runtime::kAddProperty, 4); |
+ __ push(Immediate(Smi::FromInt(SLOPPY))); // Strict mode |
+ __ CallRuntime(Runtime::kSetProperty, 4); |
} else { |
__ Drop(3); |
} |