revm_interpreter::opcode

Function update_boxed_instruction

Source
pub fn update_boxed_instruction<'a, H, F>(
    instruction: &mut BoxedInstruction<'a, H>,
    f: F,
)
where H: Host + ?Sized + 'a, F: Fn(&DynInstruction<'a, H>, &mut Interpreter, &mut H) + 'a,
Expand description

Updates a boxed instruction with a new one.