1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Silence warning about loss of precision.

llvm-svn: 45731
This commit is contained in:
Bill Wendling 2008-01-08 00:52:29 +00:00
parent 9de4f35e9f
commit e859abc363

View File

@ -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);
}