JIT Compiler Module for Shape
Compiles Shape bytecode to native x86-64/ARM machine code using Cranelift for high-performance strategy execution in backtesting.
Module Structure
ffi::jit_kinds- JIT-specific heap kinds and allocation typesffi::value_ffi- NaN-boxing value encoding/decoding helperscontext- JITContext, JITDataFrame, and related structuresffi- FFI functions called from JIT-compiled codeloop_analysis- Loop analysis for JIT optimizationosr_compiler- OSR (On-Stack Replacement) loop compilationffi_refs- FFI function references for heap operationscompiler- JITCompiler implementation (split into logical modules)core- Legacy re-exports and tests