mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 22:50:47 +00:00
Silence warning about loss of precision.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45731 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
325474e065
commit
750ec00436
@ -387,7 +387,7 @@ void *X86JITInfo::emitGlobalValueLazyPtr(void *GV, MachineCodeEmitter &MCE) {
|
||||
MCE.emitWordLE(((unsigned *)&GV)[1]);
|
||||
#else
|
||||
MCE.startFunctionStub(4, 4);
|
||||
MCE.emitWordLE((unsigned)GV);
|
||||
MCE.emitWordLE((intptr_t)GV);
|
||||
#endif
|
||||
return MCE.finishFunctionStub(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user