fix(vm): new 构造 cell_stack 失衡与子模块 immutables 缓存失步

This commit is contained in:
爱特每羊队
2026-08-07 00:15:09 +08:00
parent 328b8a3ddc
commit f57cb0f051
5 changed files with 20 additions and 6 deletions
+1
View File
@@ -211,6 +211,7 @@ impl Vm {
self.regs = [JsValue::undefined(); 256];
self.pc = 0;
self.frames.clear();
self.sub_module_stack.clear();
self.iters.reset();
self.saved_bytecode_stack.clear();
self.saved_immutables_stack.clear();