mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
refactor: 退役逃逸写屏障 builtins 侧调用点与 trait 兑现
This commit is contained in:
@@ -227,7 +227,6 @@ pub trait VmHost {
|
||||
/// caller/arguments 访问是否受限:严格函数对象,或生成器 / 异步 /
|
||||
/// 异步生成器函数对象([[Prototype]] 为三个动态函数原型之一)。
|
||||
fn function_is_restricted(&self, obj: &JsObject) -> bool;
|
||||
fn promote_if_needed_for_write_ptr(&mut self, target_ptr: *mut JsObject, value: JsValue) -> JsValue;
|
||||
fn step_rng(&mut self);
|
||||
fn math_rng_value(&self) -> f64;
|
||||
fn sub_module_function_name(&self, gen: u32, sub_idx: u16) -> String;
|
||||
|
||||
Reference in New Issue
Block a user