[LLVMdev] LLVM JIT and Java Reflection style calls

Gordon Henriksen gordonhenriksen at me.com
Sat Aug 16 15:06:21 PDT 2008


On Aug 16, 2008, at 11:47, Carter Cheng wrote:

> This is probably another beginners type question but I am  
> researching the use of the LLVM JIT for implementing a language  
> where the main form of interprocedural call is similar to method  
> invocation in Java's reflection mechanism.
>
> Is such a thing easily implementable with the current LLVM JIT?


Sure. Just call a routine that looks up a function pointer in a data  
structure, then call it.

— Gordon





More information about the llvm-dev mailing list