refactor: 删除占位 opcode 表项与派发兜底臂

This commit is contained in:
2026-09-26 08:44:36 +00:00
parent 811e9e928a
commit d0a95309ba
4 changed files with 2 additions and 46 deletions
+1 -5
View File
@@ -1,4 +1,4 @@
//! dispatch 主循环:逐指令解码与 156 个 OpCode 臂分派、执行期 GC 安全点、
//! dispatch 主循环:逐指令解码与 OpCode 臂分派、执行期 GC 安全点、
//! 步数/分配上限采样与二元运算宏 `binary_arith!`。
use num_traits::Zero;
@@ -835,10 +835,6 @@ impl Vm {
self.profiling.set_instruction_count(steps);
return Ok(JsValue::undefined());
}
_ => {
return Err(format!("opcode {op} not yet implemented"));
}
}
}
}