Skip to main content

JSJitRuntimeAPI

Struct JSJitRuntimeAPI 

Source
#[repr(C)]
pub struct JSJitRuntimeAPI {
Show 24 fields pub struct_size: u32, pub major: u16, pub minor: u16, pub interrupt_poll: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame) -> JSJitHelperStatus>, pub dup: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, input: u32) -> JSJitHelperStatus>, pub free: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, input: u32) -> JSJitHelperStatus>, pub resolve_const: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, input: u32) -> JSJitHelperStatus>, pub to_numeric: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, input: u32) -> JSJitHelperStatus>, pub to_bool: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, input: u32) -> JSJitHelperStatus>, pub add_slow: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, left: u32, right: u32) -> JSJitHelperStatus>, pub compare_slow: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, left: u32, right: u32, operation: u32) -> JSJitHelperStatus>, pub get_property: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, object: u32, atom: u32) -> JSJitHelperStatus>, pub set_property: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, object: u32, atom: u32, value: u32) -> JSJitHelperStatus>, pub call: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, function: u32, this_value: u32, argv: u32, argc: u32) -> JSJitHelperStatus>, pub new_array: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32) -> JSJitHelperStatus>, pub new_object: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32) -> JSJitHelperStatus>, pub shape_guard: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, object: u32, identity_lo: u32, identity_hi: u32, generation_lo: u32, generation_hi: u32) -> JSJitHelperStatus>, pub materialize_owner: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output_stack_index: u32, source_kind: u32, source_index: u32) -> JSJitHelperStatus>, pub get_element: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, left: u32, right: u32) -> JSJitHelperStatus>, pub set_element: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, left: u32, right: u32) -> JSJitHelperStatus>, pub to_propkey: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, input: u32) -> JSJitHelperStatus>, pub get_global: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, input: u32) -> JSJitHelperStatus>, pub call_constructor: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, function: u32, this_value: u32, argv: u32, argc: u32) -> JSJitHelperStatus>, pub regexp: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, left: u32, right: u32) -> JSJitHelperStatus>,
}

Fields§

§struct_size: u32§major: u16§minor: u16§interrupt_poll: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame) -> JSJitHelperStatus>§dup: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, input: u32) -> JSJitHelperStatus>§free: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, input: u32) -> JSJitHelperStatus>§resolve_const: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, input: u32) -> JSJitHelperStatus>§to_numeric: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, input: u32) -> JSJitHelperStatus>§to_bool: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, input: u32) -> JSJitHelperStatus>§add_slow: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, left: u32, right: u32) -> JSJitHelperStatus>§compare_slow: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, left: u32, right: u32, operation: u32) -> JSJitHelperStatus>§get_property: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, object: u32, atom: u32) -> JSJitHelperStatus>§set_property: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, object: u32, atom: u32, value: u32) -> JSJitHelperStatus>§call: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, function: u32, this_value: u32, argv: u32, argc: u32) -> JSJitHelperStatus>§new_array: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32) -> JSJitHelperStatus>§new_object: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32) -> JSJitHelperStatus>§shape_guard: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, object: u32, identity_lo: u32, identity_hi: u32, generation_lo: u32, generation_hi: u32) -> JSJitHelperStatus>§materialize_owner: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output_stack_index: u32, source_kind: u32, source_index: u32) -> JSJitHelperStatus>§get_element: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, left: u32, right: u32) -> JSJitHelperStatus>§set_element: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, left: u32, right: u32) -> JSJitHelperStatus>§to_propkey: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, input: u32) -> JSJitHelperStatus>§get_global: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, input: u32) -> JSJitHelperStatus>§call_constructor: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, function: u32, this_value: u32, argv: u32, argc: u32) -> JSJitHelperStatus>§regexp: Option<unsafe extern "C" fn(frame: *mut JSJitExecFrame, stack_map_id: u32, output: u32, left: u32, right: u32) -> JSJitHelperStatus>

Trait Implementations§

Source§

impl Clone for JSJitRuntimeAPI

Source§

fn clone(&self) -> JSJitRuntimeAPI

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for JSJitRuntimeAPI

Source§

impl Debug for JSJitRuntimeAPI

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.