parent
1d2f5cebe4
commit
54140eb568
|
@ -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…
Reference in New Issue