Skip to main content

emit_instruction

Function emit_instruction 

Source
pub fn emit_instruction(
    ast: &PcodeAst,
    context: &impl PcodeLoweringContext,
    plan: &PcodePlan,
    sink: &mut impl PcodeSink,
) -> Result<(), PcodeLowerError>
Expand description

Lowers ast and reports each resolved operation to sink.

plan must come from plan_instruction for the same AST and context. Unlike lower_instruction, no operation vector is built: local branches are reported against the plan’s labels rather than resolved offsets.