Lines 291-299
Link Here
|
291 |
} |
291 |
} |
292 |
#endif |
292 |
#endif |
293 |
|
293 |
|
294 |
extern "C" void *PPCCompilationCallbackC(unsigned *StubCallAddrPlus4, |
294 |
extern "C" { |
295 |
unsigned *OrigCallAddrPlus4, |
295 |
static void* LLVM_ATTRIBUTE_USED PPCCompilationCallbackC(unsigned *StubCallAddrPlus4, |
296 |
bool is64Bit) { |
296 |
unsigned *OrigCallAddrPlus4, |
|
|
297 |
bool is64Bit) { |
297 |
// Adjust the pointer to the address of the call instruction in the stub |
298 |
// Adjust the pointer to the address of the call instruction in the stub |
298 |
// emitted by emitFunctionStub, rather than the instruction after it. |
299 |
// emitted by emitFunctionStub, rather than the instruction after it. |
299 |
unsigned *StubCallAddr = StubCallAddrPlus4 - 1; |
300 |
unsigned *StubCallAddr = StubCallAddrPlus4 - 1; |
Lines 337-342
Link Here
|
337 |
// stack after we restore all regs. |
338 |
// stack after we restore all regs. |
338 |
return Target; |
339 |
return Target; |
339 |
} |
340 |
} |
|
|
341 |
} |
340 |
|
342 |
|
341 |
|
343 |
|
342 |
|
344 |
|