mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-24 18:51:13 +08:00
perf: 压帧时固化 callee upvalue 表,热路径免每指令重查
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user