Index: src/builtins/mips64/builtins-mips64.cc |
diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc |
index 5ef149374f3f0b6ce83c8bb5ef9513caa3b9b2a8..b82e76d05c68cf084ff335c07f8666ab62525be0 100644 |
--- a/src/builtins/mips64/builtins-mips64.cc |
+++ b/src/builtins/mips64/builtins-mips64.cc |
@@ -2409,8 +2409,10 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
__ SmiTag(a0); |
__ Push(a0, a1); |
__ mov(a0, a3); |
+ __ Push(cp); |
ToObjectStub stub(masm->isolate()); |
__ CallStub(&stub); |
+ __ Pop(cp); |
__ mov(a3, v0); |
__ Pop(a0, a1); |
__ SmiUntag(a0); |