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:
Bill Wendling 2008-01-08 00:52:29 +00:00
parent 325474e065
commit 750ec00436

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