mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-27 12:11:12 +08:00
perf: 三处手写压帧收敛单一入口并免实参堆 Vec 物化
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use crate::vm::{FrameContinuation, Vm, MAX_PROTO_CHAIN_DEPTH};
|
||||
use crate::vm::{FrameArgs, FrameContinuation, Vm, MAX_PROTO_CHAIN_DEPTH};
|
||||
use crate::{ic_trace, vm_trace};
|
||||
use oxide_kernel::prop_forge::PropTemplate;
|
||||
use oxide_runtime_api as coercion;
|
||||
@@ -126,7 +126,7 @@ impl Vm {
|
||||
self.push_bytecode_frame(
|
||||
getter,
|
||||
receiver,
|
||||
&[],
|
||||
FrameArgs::Slice(&[]),
|
||||
None,
|
||||
None,
|
||||
JsValue::undefined(),
|
||||
@@ -326,7 +326,7 @@ impl Vm {
|
||||
self.push_bytecode_frame(
|
||||
setter,
|
||||
receiver,
|
||||
&[val],
|
||||
FrameArgs::Slice(&[val]),
|
||||
None,
|
||||
None,
|
||||
JsValue::undefined(),
|
||||
|
||||
Reference in New Issue
Block a user