| Index: src/ppc/macro-assembler-ppc.cc
|
| diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc
|
| index 783d5a4b169f30ec8edf061a74d360b32453fa78..4bc5004a2f57ca73b030cbe7533bc0a2cbae11a5 100644
|
| --- a/src/ppc/macro-assembler-ppc.cc
|
| +++ b/src/ppc/macro-assembler-ppc.cc
|
| @@ -3068,17 +3068,16 @@ void MacroAssembler::CallCFunctionHelper(Register function,
|
| // Just call directly. The function called cannot cause a GC, or
|
| // allow preemption, so the return address in the link register
|
| // stays correct.
|
| + Register dest = function;
|
| #if ABI_USES_FUNCTION_DESCRIPTORS && !defined(USE_SIMULATOR)
|
| // AIX uses a function descriptor. When calling C code be aware
|
| // of this descriptor and pick up values from it
|
| LoadP(ToRegister(ABI_TOC_REGISTER), MemOperand(function, kPointerSize));
|
| LoadP(ip, MemOperand(function, 0));
|
| - Register dest = ip;
|
| -#elif ABI_TOC_ADDRESSABILITY_VIA_IP
|
| + dest = ip;
|
| +#elif ABI_CALL_VIA_IP
|
| Move(ip, function);
|
| - Register dest = ip;
|
| -#else
|
| - Register dest = function;
|
| + dest = ip;
|
| #endif
|
|
|
| Call(dest);
|
|
|