Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 64f2c389eb9f45a2846f90644816033e1001ee1b..2d2e6658768f3e7666c3e9abc3747937b0ec51d6 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -1422,8 +1422,10 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
__ Push(a3, a2, a1, a0); |
__ CallRuntime(Runtime::kCreateObjectLiteral); |
} else { |
+ __ push(cp); |
FastCloneShallowObjectStub stub(isolate(), expr->properties_count()); |
__ CallStub(&stub); |
+ __ pop(cp); |
} |
PrepareForBailoutForId(expr->CreateLiteralId(), TOS_REG); |