diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-01 17:17:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-01 17:17:06 +0000 |
commit | 08a9a985dc7881cad0321ae95147f0a4b04647a8 (patch) | |
tree | 20a0442fa8f9323d65ee3a47e5aa3711c0ac2fc4 /lib/Target/PowerPC/PPCJITInfo.cpp | |
parent | 5180b29cb0671afcfbf73e29c177c6a048b64cbb (diff) | |
download | llvm-08a9a985dc7881cad0321ae95147f0a4b04647a8.tar.gz llvm-08a9a985dc7881cad0321ae95147f0a4b04647a8.tar.bz2 llvm-08a9a985dc7881cad0321ae95147f0a4b04647a8.tar.xz |
Silence -pedantic warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCJITInfo.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCJITInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCJITInfo.cpp b/lib/Target/PowerPC/PPCJITInfo.cpp index 6ee10d78b6..98bc4e1fb9 100644 --- a/lib/Target/PowerPC/PPCJITInfo.cpp +++ b/lib/Target/PowerPC/PPCJITInfo.cpp @@ -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); |