Changes between Version 8 and Version 9 of JITRewrite
- Timestamp:
- 09/03/09 11:49:38 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JITRewrite
v8 v9 5 5 - A "C Function" is a function written in C that performs some task 6 6 - A "JIT Definition Function" is a function written in C that generates the machine code for a function that performs some task 7 - LIR is "Low-level Intermediate Representation". It is an instruction format that is internal to a compiler for representing the input programs. 7 8 8 9 = A Good JIT Will... = … … 59 60 http://llvm.org/ 60 61 62 LLVM provides JIT compilation for it's own custom opcodes. If we target LLVM specifically, we could use native LLVM ops as our LIR for writing ops in. 63 61 64 Pros: Lots of optimizations across multiple stages. Can generate executables from JIT'd code. 62 65 Cons: Heavy-weight, is more then just a JIT. Requires translation of PBC to LLVM opcodes. Some developers claim it is difficult to use.