Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 24526a915ec4de8f34f561f726187f7fbf62aeeb..72d307d962cf761c2ed19d182575c91d0d3f33d6 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -1423,8 +1423,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); |