Function step

Source
pub fn step<'a, I>(
    state: &mut dyn State<'a>,
    inst_context: I,
) -> Result<ControlFlow<'a>, StepError>
Expand description

Interpret a single Cranelift instruction. Note that program traps and interpreter errors are distinct: a program trap results in Ok(Flow::Trap(...)) whereas an interpretation error (e.g. the types of two values are incompatible) results in Err(...).