Tutorial part 4: Adding JIT-compilation to a toy interpreter
Summary
A GCC libgccjit tutorial (Tutorial part 4) that shows adding JIT compilation to a toy bytecode interpreter. It covers mapping each opcode to machine code, debugging hooks, control-flow graph construction, and optimization passes from SSA to tail-recursion elimination.