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? Thanks in advance, Carter.
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