revm_interpreter::table

Function make_custom_instruction_table

Source
pub fn make_custom_instruction_table<W, H, FN, CI: CustomInstruction<Wire = W, Host = H>>(
    table: &InstructionTable<W, H>,
    f: FN,
) -> CustomInstructionTable<CI>
where W: InterpreterTypes, H: Host + ?Sized, FN: FnMut(Instruction<W, H>) -> CI,
Expand description

Make boxed instruction table that calls f closure for every instruction.