Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 3190e5aad052c57dd76a5b26f0107305e57a598c..194d75d33e190acfa878535313c5f347f5541f2f 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -1682,7 +1682,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
VisitForStackValue(value); |
if (property->emit_store()) { |
__ Push(Smi::FromInt(NONE)); // PropertyAttributes |
- __ CallRuntime(Runtime::kSetProperty, 4); |
+ __ CallRuntime(Runtime::kAddProperty, 4); |
} else { |
__ Drop(3); |
} |
@@ -1715,7 +1715,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
EmitAccessor(it->second->getter); |
EmitAccessor(it->second->setter); |
__ Push(Smi::FromInt(NONE)); |
- __ CallRuntime(Runtime::kDefineOrRedefineAccessorProperty, 5); |
+ __ CallRuntime(Runtime::kDefineAccessorPropertyUnchecked, 5); |
} |
if (expr->has_function()) { |