Silence a warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127918 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2011-03-18 22:50:49 +00:00
parent 0082830cb2
commit 7b6747ed42

View File

@ -109,6 +109,6 @@ GenericValue MCJIT::runFunction(Function *F,
void *FPtr = getPointerToFunction(F); void *FPtr = getPointerToFunction(F);
if (!FPtr) if (!FPtr)
report_fatal_error("Unable to locate function: '" + F->getName() + "'"); report_fatal_error("Unable to locate function: '" + F->getName() + "'");
((void(*)(void))FPtr)(); ((void(*)(void))(intptr_t)FPtr)();
return GenericValue(); return GenericValue();
} }