[LLVMdev] How to call native functions from bytecode run in JIT?

Anton Korobeynikov asl at math.spbu.ru
Fri Jun 29 02:30:05 PDT 2007


Hello, Nicolas.

> This will force an indirect call, and won't use the jump-size limitation 
> of the bl instruction.
I think we're using some logic to determine, whether call should be
"direct" or "indirect" on x86. Look for GVRequiresExtraLoad() routine in
the X86Subtarget.cpp

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.





More information about the llvm-dev mailing list