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