mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 14:16:12 +00:00
Silence -pedantic warning
llvm-svn: 28633
This commit is contained in:
parent
339d8b5ba9
commit
1d2618c6c7
@ -165,7 +165,7 @@ PPCJITInfo::getLazyResolverFunction(JITCompilerFn Fn) {
|
||||
void *PPCJITInfo::emitFunctionStub(void *Fn, MachineCodeEmitter &MCE) {
|
||||
// If this is just a call to an external function, emit a branch instead of a
|
||||
// call. The code is the same except for one bit of the last instruction.
|
||||
if (Fn != (void*)PPC32CompilationCallback) {
|
||||
if (Fn != (void*)(intptr_t)PPC32CompilationCallback) {
|
||||
MCE.startFunctionStub(4*4);
|
||||
void *Addr = (void*)(intptr_t)MCE.getCurrentPCValue();
|
||||
MCE.emitWordBE(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user