// The maximum number of fields in a struct to be optimized by scalar // replacement. staticconstunsigned MaxFieldsScalarReplacementStructs = 10;
// The maximum number of results of a function call or block that may be // returned in registers. staticconstunsigned MaxRegisterResults = 1;
// A magic value of the InstanceReg to indicate after a return to the // interpreter entry stub that an exception has been caught and that we should // throw. staticconstunsigned InterpFailInstanceReg = 0xbad;
// The following thresholds were derived from a microbenchmark. If we begin to // ship this optimization for more platforms, we will need to extend this list.
// The size we round all super type vectors to. All accesses below this length // can avoid bounds checks. The value of 8 was chosen after a bit of profiling // with the Dart Barista benchmark. // // Keep jit-tests/tests/wasm/gc/casting.js in sync with this constant. staticconst uint32_t MinSuperTypeVectorLength = 8;
// An exported wasm function may have a 'jit entry' stub attached that can be // called using the JS JIT ABI. This relies on the pointer we store in the // `NativeJitInfoOrInterpretedScriptSlot` slot of JSFunction to have a // compatible representation with BaseScript/SelfHostedLazyScript so that // `masm.loadJitCodeRaw` works. // // We store jit entry pointers in an array (see wasm::JumpTable) and store the // pointer to a function's jit entry in the JSFunction slot. We rely on the // below offset of each entry in the jump table to be compatible with // BaseScript/SelfHostedLazyScript. staticconst uint32_t JumpTableJitEntryOffset = 0;
// Some JIT code relies on wasm exported functions not being nursery allocated. // This assert tracks those locations for future updating, if this changes. #define STATIC_ASSERT_WASM_FUNCTIONS_TENURED
} // namespace wasm
} // namespace js
#endif// wasm_codegen_constants_h
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.12Bemerkung:
(vorverarbeitet am 2026-09-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.