projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Silence a warning.
[oota-llvm.git]
/
lib
/
ExecutionEngine
/
MCJIT
/
MCJIT.cpp
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();
}