mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-26 11:41:13 +08:00
perf: CallFrame 构造 this 判别位并入 bool 组省 8 字节
This commit is contained in:
@@ -381,7 +381,8 @@ impl Vm {
|
||||
callee,
|
||||
arguments_obj: JsValue::undefined(),
|
||||
construct_result_reg: construct.result_reg,
|
||||
constructed_this: construct.constructed_this,
|
||||
constructed_this: construct.constructed_this.unwrap_or(JsValue::undefined()),
|
||||
has_constructed_this: construct.constructed_this.is_some(),
|
||||
is_derived_constructor: obj.is_derived_constructor(),
|
||||
super_called: false,
|
||||
strict: sub_is_strict,
|
||||
|
||||
Reference in New Issue
Block a user