Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 403519 | Differences between
and this patch

Collapse All | Expand All

(-)llvm-9999/lib/Target/PowerPC/PPCJITInfo.cpp.orig (-3 / +6 lines)
Lines 68-73 Link Here
68
  }
68
  }
69
}
69
}
70
70
71
static void *PPCCompilationCallbackC(unsigned *StubCallAddrPlus4,
72
                                     unsigned *OrigCallAddrPlus4,
73
                                     bool is64Bit);
71
extern "C" void PPC32CompilationCallback();
74
extern "C" void PPC32CompilationCallback();
72
extern "C" void PPC64CompilationCallback();
75
extern "C" void PPC64CompilationCallback();
73
76
Lines 291-299 Link Here
291
}
294
}
292
#endif
295
#endif
293
296
294
extern "C" void *PPCCompilationCallbackC(unsigned *StubCallAddrPlus4,
297
static void *PPCCompilationCallbackC(unsigned *StubCallAddrPlus4,
295
                                         unsigned *OrigCallAddrPlus4,
298
                                     unsigned *OrigCallAddrPlus4,
296
                                         bool is64Bit) {
299
                                     bool is64Bit) {
297
  // Adjust the pointer to the address of the call instruction in the stub
300
  // Adjust the pointer to the address of the call instruction in the stub
298
  // emitted by emitFunctionStub, rather than the instruction after it.
301
  // emitted by emitFunctionStub, rather than the instruction after it.
299
  unsigned *StubCallAddr = StubCallAddrPlus4 - 1;
302
  unsigned *StubCallAddr = StubCallAddrPlus4 - 1;

Return to bug 403519