Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 452793513675dc7cda28983e998f1e4499e02d3f..cbfe64b9ea2f7a3b884b3645921a14489adf12ce 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -1532,7 +1532,9 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
Smi::FromInt(0))); |
__ push(a1); |
VisitForStackValue(value); |
- __ CallRuntime(Runtime::kDefineAccessor, 4); |
+ __ li(a0, Operand(Smi::FromInt(NONE))); |
+ __ push(a0); |
+ __ CallRuntime(Runtime::kDefineOrRedefineAccessorProperty, 5); |
break; |
} |
} |