projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5180b29
)
Silence -pedantic warning
author
Chris Lattner
<sabre@nondot.org>
Thu, 1 Jun 2006 17:17:06 +0000
(17:17 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 1 Jun 2006 17:17:06 +0000
(17:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28633
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCJITInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCJITInfo.cpp
b/lib/Target/PowerPC/PPCJITInfo.cpp
index 6ee10d78b635e721f248ffc90a486fe3b40e7f40..98bc4e1fb99ca0c526cc417b15452ae0a94949e7 100644
(file)
--- 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);