Skip to main content

try_run_hot

Function try_run_hot 

Source
pub fn try_run_hot(
    ctx: &mut JitContext,
    chunk: &Chunk,
    key: TraceKey,
    slots: &mut [i64],
    budget: u32,
    register_count: u8,
    metrics: Option<&RuntimeMetrics>,
) -> Option<ExitReason>
Available on crate feature jit only.
Expand description

Compile key if needed and execute once. Returns None when compilation fails (caller should fall back to the interpreter).