(
state: &mut MachineState,
pc: UnsafeBytecodeStream,
executing_pc: ExecutingPcRef<'_>,
)
| 82 | } |
| 83 | |
| 84 | fn dispatch( |
| 85 | state: &mut MachineState, |
| 86 | pc: UnsafeBytecodeStream, |
| 87 | executing_pc: ExecutingPcRef<'_>, |
| 88 | ) -> Done { |
| 89 | // Perform a dynamic dispatch through a function pointer indexed by |
| 90 | // opcode. |
| 91 | let mut debug = debug(state, pc, executing_pc); |
| 92 | debug.before_visit(); |
| 93 | let Ok(opcode) = Opcode::decode(debug.bytecode()); |
| 94 | let handler = OPCODE_HANDLER_TABLE[opcode as usize]; |
| 95 | tail_call!(handler(debug.0.state, debug.0.pc, debug.0.executing_pc)); |
| 96 | } |
| 97 | |
| 98 | /// Same as `Interpreter::run`, except for extended opcodes. |
| 99 | fn run_extended( |
no test coverage detected