[LLVMbugs] [Bug 1506] JIT not caching stub code built for functions with "non-common" argument patterns
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Jun 12 09:57:48 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1506
sabre at nondot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From sabre at nondot.org 2007-06-12 11:57 -------
FWIW, I don't think this is a coding bug, though it is probably a documentation bug.
You almost never want to call runFunction. Instead, just do something like this:
void (*FPtr)(int, float, int*) = (void (*FPtr)(int, float, int*))EE->getPointerToFunction(F);
Then do:
FPtr(1, 4.0f, NULL);
or whatever.
-Chris
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list