Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 438907e8002ce553d24edfc684e0871774f80aa0..afd5f72988da45c4cbb3aac84ee0a88bc0737dea 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -1697,9 +1697,9 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
__ Push(x0); |
VisitForStackValue(key); |
VisitForStackValue(value); |
- __ Mov(x0, Smi::FromInt(NONE)); // PropertyAttributes |
+ __ Mov(x0, Smi::FromInt(SLOPPY)); // Strict mode |
__ Push(x0); |
- __ CallRuntime(Runtime::kAddProperty, 4); |
+ __ CallRuntime(Runtime::kSetProperty, 4); |
} else { |
VisitForEffect(key); |
VisitForEffect(value); |