perf: 寄存器保存改用共享 save_stack,消除 Box<[JsValue]> 堆分配

This commit is contained in:
2026-06-24 22:20:34 +08:00
parent 967ac32378
commit 12bfe551cf
6 changed files with 37 additions and 19 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ mod tests {
return_addr: 0,
function_name: name_si,
caller_reg_limit: 1,
saved_regs: vec![JsValue::undefined()].into_boxed_slice(),
saved_reg_offset: 0,
saved_this: JsValue::undefined(),
saved_new_target: JsValue::undefined(),
callee: JsValue::undefined(),