Enum mozjs::jsapi::JSJitCompilerOption
source · #[repr(u32)]pub enum JSJitCompilerOption {
Show 34 variants
JSJITCOMPILER_BASELINE_INTERPRETER_WARMUP_TRIGGER = 0,
JSJITCOMPILER_BASELINE_WARMUP_TRIGGER = 1,
JSJITCOMPILER_IC_FORCE_MEGAMORPHIC = 2,
JSJITCOMPILER_ION_NORMAL_WARMUP_TRIGGER = 3,
JSJITCOMPILER_ION_GVN_ENABLE = 4,
JSJITCOMPILER_ION_FORCE_IC = 5,
JSJITCOMPILER_ION_ENABLE = 6,
JSJITCOMPILER_JIT_TRUSTEDPRINCIPALS_ENABLE = 7,
JSJITCOMPILER_ION_CHECK_RANGE_ANALYSIS = 8,
JSJITCOMPILER_ION_FREQUENT_BAILOUT_THRESHOLD = 9,
JSJITCOMPILER_BASE_REG_FOR_LOCALS = 10,
JSJITCOMPILER_INLINING_BYTECODE_MAX_LENGTH = 11,
JSJITCOMPILER_BASELINE_INTERPRETER_ENABLE = 12,
JSJITCOMPILER_BASELINE_ENABLE = 13,
JSJITCOMPILER_PORTABLE_BASELINE_ENABLE = 14,
JSJITCOMPILER_PORTABLE_BASELINE_WARMUP_THRESHOLD = 15,
JSJITCOMPILER_OFFTHREAD_COMPILATION_ENABLE = 16,
JSJITCOMPILER_FULL_DEBUG_CHECKS = 17,
JSJITCOMPILER_JUMP_THRESHOLD = 18,
JSJITCOMPILER_NATIVE_REGEXP_ENABLE = 19,
JSJITCOMPILER_JIT_HINTS_ENABLE = 20,
JSJITCOMPILER_SIMULATOR_ALWAYS_INTERRUPT = 21,
JSJITCOMPILER_SPECTRE_INDEX_MASKING = 22,
JSJITCOMPILER_SPECTRE_OBJECT_MITIGATIONS = 23,
JSJITCOMPILER_SPECTRE_STRING_MITIGATIONS = 24,
JSJITCOMPILER_SPECTRE_VALUE_MASKING = 25,
JSJITCOMPILER_SPECTRE_JIT_TO_CXX_CALLS = 26,
JSJITCOMPILER_WRITE_PROTECT_CODE = 27,
JSJITCOMPILER_WASM_FOLD_OFFSETS = 28,
JSJITCOMPILER_WASM_DELAY_TIER2 = 29,
JSJITCOMPILER_WASM_JIT_BASELINE = 30,
JSJITCOMPILER_WASM_JIT_OPTIMIZING = 31,
JSJITCOMPILER_REGEXP_DUPLICATE_NAMED_GROUPS = 32,
JSJITCOMPILER_NOT_AN_OPTION = 33,
}
Variants§
JSJITCOMPILER_BASELINE_INTERPRETER_WARMUP_TRIGGER = 0
JSJITCOMPILER_BASELINE_WARMUP_TRIGGER = 1
JSJITCOMPILER_IC_FORCE_MEGAMORPHIC = 2
JSJITCOMPILER_ION_NORMAL_WARMUP_TRIGGER = 3
JSJITCOMPILER_ION_GVN_ENABLE = 4
JSJITCOMPILER_ION_FORCE_IC = 5
JSJITCOMPILER_ION_ENABLE = 6
JSJITCOMPILER_JIT_TRUSTEDPRINCIPALS_ENABLE = 7
JSJITCOMPILER_ION_CHECK_RANGE_ANALYSIS = 8
JSJITCOMPILER_ION_FREQUENT_BAILOUT_THRESHOLD = 9
JSJITCOMPILER_BASE_REG_FOR_LOCALS = 10
JSJITCOMPILER_INLINING_BYTECODE_MAX_LENGTH = 11
JSJITCOMPILER_BASELINE_INTERPRETER_ENABLE = 12
JSJITCOMPILER_BASELINE_ENABLE = 13
JSJITCOMPILER_PORTABLE_BASELINE_ENABLE = 14
JSJITCOMPILER_PORTABLE_BASELINE_WARMUP_THRESHOLD = 15
JSJITCOMPILER_OFFTHREAD_COMPILATION_ENABLE = 16
JSJITCOMPILER_FULL_DEBUG_CHECKS = 17
JSJITCOMPILER_JUMP_THRESHOLD = 18
JSJITCOMPILER_NATIVE_REGEXP_ENABLE = 19
JSJITCOMPILER_JIT_HINTS_ENABLE = 20
JSJITCOMPILER_SIMULATOR_ALWAYS_INTERRUPT = 21
JSJITCOMPILER_SPECTRE_INDEX_MASKING = 22
JSJITCOMPILER_SPECTRE_OBJECT_MITIGATIONS = 23
JSJITCOMPILER_SPECTRE_STRING_MITIGATIONS = 24
JSJITCOMPILER_SPECTRE_VALUE_MASKING = 25
JSJITCOMPILER_SPECTRE_JIT_TO_CXX_CALLS = 26
JSJITCOMPILER_WRITE_PROTECT_CODE = 27
JSJITCOMPILER_WASM_FOLD_OFFSETS = 28
JSJITCOMPILER_WASM_DELAY_TIER2 = 29
JSJITCOMPILER_WASM_JIT_BASELINE = 30
JSJITCOMPILER_WASM_JIT_OPTIMIZING = 31
JSJITCOMPILER_REGEXP_DUPLICATE_NAMED_GROUPS = 32
JSJITCOMPILER_NOT_AN_OPTION = 33
Trait Implementations§
source§impl Clone for JSJitCompilerOption
impl Clone for JSJitCompilerOption
source§fn clone(&self) -> JSJitCompilerOption
fn clone(&self) -> JSJitCompilerOption
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JSJitCompilerOption
impl Debug for JSJitCompilerOption
source§impl Hash for JSJitCompilerOption
impl Hash for JSJitCompilerOption
source§impl PartialEq for JSJitCompilerOption
impl PartialEq for JSJitCompilerOption
source§fn eq(&self, other: &JSJitCompilerOption) -> bool
fn eq(&self, other: &JSJitCompilerOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for JSJitCompilerOption
impl Eq for JSJitCompilerOption
impl StructuralPartialEq for JSJitCompilerOption
Auto Trait Implementations§
impl Freeze for JSJitCompilerOption
impl RefUnwindSafe for JSJitCompilerOption
impl Send for JSJitCompilerOption
impl Sync for JSJitCompilerOption
impl Unpin for JSJitCompilerOption
impl UnwindSafe for JSJitCompilerOption
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more