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