Skip to main content

compile_straightline_coded

Function compile_straightline_coded 

Source
pub fn compile_straightline_coded(
    ops: &[MicroOp],
    shared_status: Option<Arc<AtomicI64>>,
    deopt_codes: Option<&[i64]>,
    depth_addr: i64,
) -> Result<CompiledChain, JitCompileError>
Expand description

Like compile_straightline_with, with an optional per-op DEOPT CODE table (parallel to ops). An op whose code is not the plain marker 1 side-exits through its own terminal piece storing that encoded value — the function tier encodes (bytecode_pc << 2) | 3 so the VM can resume precisely. None (and code 1) keep the shared replay terminal.