Index: src/builtins/ppc/builtins-ppc.cc |
diff --git a/src/builtins/ppc/builtins-ppc.cc b/src/builtins/ppc/builtins-ppc.cc |
index 81cb4a61fefae69788225a5e320462a5be0bb3b4..cd0a4d96edb92b3b7ffb4a85bad3a9dfeb21e8ce 100644 |
--- a/src/builtins/ppc/builtins-ppc.cc |
+++ b/src/builtins/ppc/builtins-ppc.cc |
@@ -2457,8 +2457,10 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
__ SmiTag(r3); |
__ Push(r3, r4); |
__ mr(r3, r6); |
+ __ Push(cp); |
ToObjectStub stub(masm->isolate()); |
__ CallStub(&stub); |
+ __ Pop(cp); |
__ mr(r6, r3); |
__ Pop(r3, r4); |
__ SmiUntag(r3); |