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

This commit is contained in:
2026-08-07 00:15:09 +08:00
parent 31e28a03a6
commit 710965b7f2
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();