perf: 压帧时固化 callee upvalue 表,热路径免每指令重查

This commit is contained in:
2026-09-28 17:24:10 +00:00
parent 597f11e802
commit b3255faa46
12 changed files with 110 additions and 88 deletions
+1
View File
@@ -844,6 +844,7 @@ fn reset_clears_runtime_state_like_rerun() {
is_derived_constructor: false,
super_called: false,
continuation: crate::vm::FrameContinuation::None,
upvalues: std::ptr::slice_from_raw_parts(std::ptr::null(), 0),
});
vm.save_stack.push(JsValue::undefined());
vm.iters