#[repr(C)]pub struct JitFrame {Show 18 fields
pub slots: *mut i64,
pub register_count: u32,
pub pc: u32,
pub budget: u32,
pub function: u32,
pub exit_kind: u32,
pub return_reg: u32,
pub call_depth: u32,
pub call_stack: *mut JitCallRecord,
pub written: [u64; 4],
pub as_bool: [u64; 4],
pub as_unit: [u64; 4],
pub entry_as_bool: [u64; 4],
pub entry_as_unit: [u64; 4],
pub spill: *mut i64,
pub spill_stride: u32,
pub as_float: [u64; 4],
pub entry_as_float: [u64; 4],
}jit only.Expand description
Mutable state for one JIT invocation on the current bytecode frame.
v1 keeps scalar work in a parallel i64 slot table (Int specialization).
The dispatcher copies crate::Value::Int in before the call and
writes results back after Return.
Fields§
§slots: *mut i64§register_count: u32§pc: u32§budget: u32§function: u32§exit_kind: u32§return_reg: u32§call_depth: u32§call_stack: *mut JitCallRecord§written: [u64; 4]Registers this trace assigned. Unset bits keep the VM’s previous value
on the way back, so a Unit the trace never wrote does not become Int(0).
as_bool: [u64; 4]Among Self::written bits, which results are bytecode Bools
(Eq / Lt / Le / LoadConst of a bool, or a Move of one).
as_unit: [u64; 4]Among Self::written bits, which results are Unit.
entry_as_bool: [u64; 4]Bool bits observed on entry. Read-only for the compiled trace.
entry_as_unit: [u64; 4]Unit bits observed on entry. Read-only for the compiled trace.
spill: *mut i64spill_stride * MAX_JIT_CALL_DEPTH i64 slots, owned by the caller
of the trace for the duration of the call.
spill_stride: u32§as_float: [u64; 4]Among Self::written bits, which results are Floats stored as
their IEEE bits in the i64 slot.
entry_as_float: [u64; 4]Float bits observed on entry.