Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index ed62328e67f73282128852b17c8b1ee9bed3a491..775da10f120be0692ef3f0684ef0f737213d81ce 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -1700,7 +1700,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
VisitForStackValue(value); |
__ Mov(x0, Smi::FromInt(NONE)); // PropertyAttributes |
__ Push(x0); |
- __ CallRuntime(Runtime::kSetProperty, 4); |
+ __ CallRuntime(Runtime::kAddProperty, 4); |
} else { |
VisitForEffect(key); |
VisitForEffect(value); |
@@ -1738,7 +1738,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
EmitAccessor(it->second->setter); |
__ Mov(x10, Smi::FromInt(NONE)); |
__ Push(x10); |
- __ CallRuntime(Runtime::kDefineOrRedefineAccessorProperty, 5); |
+ __ CallRuntime(Runtime::kDefineAccessorPropertyUnchecked, 5); |
} |
if (expr->has_function()) { |