Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index f0fafa5a8b4f099fc55b64c79adabec263817e5a..d23cf966f2795d3547a7feb216d8d417f99348d2 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1698,7 +1698,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
if (property->emit_store()) { |
__ mov(r0, Operand(Smi::FromInt(NONE))); // PropertyAttributes |
__ push(r0); |
- __ CallRuntime(Runtime::kSetProperty, 4); |
+ __ CallRuntime(Runtime::kAddProperty, 4); |
} else { |
__ Drop(3); |
} |
@@ -1736,7 +1736,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
EmitAccessor(it->second->setter); |
__ mov(r0, Operand(Smi::FromInt(NONE))); |
__ push(r0); |
- __ CallRuntime(Runtime::kDefineOrRedefineAccessorProperty, 5); |
+ __ CallRuntime(Runtime::kDefineAccessorPropertyUnchecked, 5); |
} |
if (expr->has_function()) { |