DaoJIT - JIT Compiler Based on LLVM


DaoJIT is a JIT compiler for Dao based on LLVM. It provides JIT compiling for a subset o
f Dao virtual instructions. DaoJIT is implemented as a automatically loadable module. Aft
er it is enabled (by command line option -j or --jit), it will search for a chunk of cons
ecutive compilable instructions and compile them into native code, and replace them with 
a single instruction (DVM_JITC) which can invoke the JIT compiled code. Currently, DaoJIT
can only achieve good speedups for numeric intensive programs.