feat: 新增 MOV/SPILL/UNSPILL 执行语义 + spill 栈帧边界(D-06/D-07/D-08)

This commit is contained in:
2026-08-06 16:51:01 +08:00
parent 59d2c93bff
commit fd267816f4
9 changed files with 197 additions and 0 deletions
+3
View File
@@ -37,6 +37,7 @@ impl Vm {
saved_bytecode_stack: Vec::new(),
saved_immutables_stack: Vec::new(),
save_stack: Vec::new(),
spill_stack: Vec::new(),
try_stack: Vec::new(),
exception_value: None,
last_uncaught_value: None,
@@ -100,6 +101,7 @@ impl Vm {
saved_bytecode_stack: Vec::new(),
saved_immutables_stack: Vec::new(),
save_stack: Vec::new(),
spill_stack: Vec::new(),
try_stack: Vec::new(),
exception_value: None,
last_uncaught_value: None,
@@ -213,6 +215,7 @@ impl Vm {
self.saved_bytecode_stack.clear();
self.saved_immutables_stack.clear();
self.save_stack.clear();
self.spill_stack.clear();
self.cell_stack.clear();
self.temp_immutables.clear();
self.try_stack.clear();