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:
0082830
)
Silence a warning.
author
Jim Grosbach
<grosbach@apple.com>
Fri, 18 Mar 2011 22:50:49 +0000
(22:50 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Fri, 18 Mar 2011 22:50:49 +0000
(22:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127918
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/MCJIT/MCJIT.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/MCJIT/MCJIT.cpp
b/lib/ExecutionEngine/MCJIT/MCJIT.cpp
index 2b5ec5de7f949f40dea848a0a37052e45239b3b0..5eda88d1a382d9e5b1b06984d1e7f7872e87fd94 100644
(file)
--- a/
lib/ExecutionEngine/MCJIT/MCJIT.cpp
+++ b/
lib/ExecutionEngine/MCJIT/MCJIT.cpp
@@
-109,6
+109,6
@@
GenericValue MCJIT::runFunction(Function *F,
void *FPtr = getPointerToFunction(F);
if (!FPtr)
report_fatal_error("Unable to locate function: '" + F->getName() + "'");
- ((void(*)(void))FPtr)();
+ ((void(*)(void))
(intptr_t)
FPtr)();
return GenericValue();
}