Index: src/builtins/ppc/builtins-ppc.cc |
diff --git a/src/builtins/ppc/builtins-ppc.cc b/src/builtins/ppc/builtins-ppc.cc |
index 7e2b82c9a3d69dc0709707d907994712c865d3b3..e06d9d33a2a039e8bf6e5ad6a1eacc7add63d8f3 100644 |
--- a/src/builtins/ppc/builtins-ppc.cc |
+++ b/src/builtins/ppc/builtins-ppc.cc |
@@ -2507,8 +2507,8 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
__ Push(r3, r4); |
__ mr(r3, r6); |
__ Push(cp); |
- ToObjectStub stub(masm->isolate()); |
- __ CallStub(&stub); |
+ __ Call(masm->isolate()->builtins()->ToObject(), |
+ RelocInfo::CODE_TARGET); |
__ Pop(cp); |
__ mr(r6, r3); |
__ Pop(r3, r4); |