mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-10 12:32:21 +00:00
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:
parent
0082830cb2
commit
7b6747ed42
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user