Skip to main content

compile_vm_ops

Function compile_vm_ops 

Source
pub fn compile_vm_ops(vm_ops: &[VmInstr]) -> Option<CompiledLedgerQuery>
Expand description

Pre-compile a slice of raw IR VmInstr objects into a CompiledLedgerQuery.

Returns None if any instruction contains an unimplemented or malformed shape so IrExecutable::new remains infallible and runtime execution falls back to decode_op to surface the exact error if that site is reached.