fix(vm): inline 回调支持 upvalue 闭包上下文

This commit is contained in:
爱特每羊队
2026-08-07 00:23:35 +08:00
parent f57cb0f051
commit c59518e899
4 changed files with 59 additions and 39 deletions
+2
View File
@@ -47,6 +47,7 @@ impl Vm {
active_reg_limit: 0,
native_call_depth: 0,
accessor_frame_target_reg: None,
inline_callee: None,
gc_state: GcState {
session_epoch: bumpalo::Bump::new(),
session_gc: crate::session_gc::SessionGc::new(),
@@ -111,6 +112,7 @@ impl Vm {
active_reg_limit: 0,
native_call_depth: 0,
accessor_frame_target_reg: None,
inline_callee: None,
gc_state: GcState {
session_epoch: bumpalo::Bump::new(),
session_gc: crate::session_gc::SessionGc::new(),