v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
runtime.h File Reference
#include <memory>
#include "include/v8-maybe.h"
#include "src/base/bit-field.h"
#include "src/common/globals.h"
#include "src/handles/handles.h"
#include "src/strings/unicode.h"
#include "src/utils/allocation.h"
Include dependency graph for runtime.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::Runtime
 
struct  v8::internal::Runtime::Function
 
class  v8::internal::RuntimeState
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define FOR_EACH_INTRINSIC_ARRAY(F, I)
 
#define FOR_EACH_INTRINSIC_ATOMICS(F, I)
 
#define FOR_EACH_INTRINSIC_BIGINT(F, I)
 
#define FOR_EACH_THROWING_INTRINSIC_CLASSES(F, I)
 
#define FOR_EACH_INTRINSIC_CLASSES(F, I)
 
#define FOR_EACH_INTRINSIC_COLLECTIONS(F, I)
 
#define FOR_EACH_INTRINSIC_COMPILER_GENERIC(F, I)
 
#define FOR_EACH_INTRINSIC_TIERING(F, I)
 
#define FOR_EACH_INTRINSIC_COMPILER(F, I)
 
#define FOR_EACH_INTRINSIC_DATE(F, I)
 
#define FOR_EACH_INTRINSIC_DEBUG(F, I)
 
#define FOR_EACH_INTRINSIC_FORIN(F, I)
 
#define FOR_EACH_INTRINSIC_TRACE_UNOPTIMIZED(F, I)
 
#define FOR_EACH_INTRINSIC_TRACE_FEEDBACK(F, I)
 
#define FOR_EACH_INTRINSIC_TRACE(F, I)
 
#define FOR_EACH_INTRINSIC_FUNCTION(F, I)
 
#define FOR_EACH_INTRINSIC_GENERATOR(F, I)
 
#define FOR_EACH_INTRINSIC_INTL(F, I)
 
#define FOR_EACH_THROWING_INTRINSIC_INTERNAL(F, I)
 
#define FOR_EACH_INTRINSIC_INTERNAL(F, I)
 
#define FOR_EACH_INTRINSIC_LITERALS(F, I)
 
#define FOR_EACH_INTRINSIC_MODULE(F, I)
 
#define FOR_EACH_INTRINSIC_NUMBERS(F, I)
 
#define FOR_EACH_INTRINSIC_OBJECT(F, I)
 
#define FOR_EACH_INTRINSIC_OPERATORS(F, I)
 
#define FOR_EACH_INTRINSIC_PROMISE(F, I)
 
#define FOR_EACH_INTRINSIC_PROXY(F, I)
 
#define FOR_EACH_INTRINSIC_REGEXP(F, I)
 
#define FOR_EACH_THROWING_INTRINSIC_SCOPES(F, I)
 
#define FOR_EACH_INTRINSIC_SCOPES(F, I)
 
#define FOR_EACH_INTRINSIC_SHADOW_REALM(F, I)
 
#define FOR_EACH_INTRINSIC_STRINGS(F, I)
 
#define FOR_EACH_INTRINSIC_SYMBOL(F, I)
 
#define FOR_EACH_INTRINSIC_TEMPORAL(F, I)
 
#define FOR_EACH_INTRINSIC_TEST(F, I)
 
#define FOR_EACH_INTRINSIC_TYPEDARRAY(F, I)
 
#define FOR_EACH_INTRINSIC_WASM_DRUMBRAKE(F, I)
 
#define FOR_EACH_INTRINSIC_WASM(F, I)
 
#define FOR_EACH_INTRINSIC_WASM_TEST(F, I)
 
#define FOR_EACH_INTRINSIC_WASM_DRUMBRAKE_TEST(F, I)
 
#define FOR_EACH_INTRINSIC_WEAKREF(F, I)
 
#define FOR_EACH_INTRINSIC_RETURN_PAIR_IMPL(F, I)
 
#define FOR_EACH_INTRINSIC_IC(F, I)
 
#define FOR_EACH_INTRINSIC_RETURN_OBJECT_IMPL(F, I)
 
#define FOR_EACH_THROWING_INTRINSIC(F)
 
#define FOR_EACH_INTRINSIC_IMPL(F, I)
 
#define FOR_EACH_INTRINSIC_RETURN_OBJECT(F)
 
#define FOR_EACH_INTRINSIC_RETURN_PAIR(F)
 
#define FOR_EACH_INTRINSIC(F)
 
#define FOR_EACH_INLINE_INTRINSIC(I)
 
#define F(name, nargs, ressize)
 
#define F(name, nargs, ressize)
 
#define I(name, nargs, ressize)
 
#define COUNT(...)
 

Typedefs

using v8::internal::AllocateDoubleAlignFlag = base::BitField<bool, 0, 1>
 

Enumerations

enum class  v8::internal::OptimizationStatus {
  v8::internal::kIsFunction = 1 << 0 , v8::internal::kNeverOptimize = 1 << 1 , v8::internal::kAlwaysOptimize = 1 << 2 , v8::internal::kMaybeDeopted = 1 << 3 ,
  v8::internal::kOptimized = 1 << 4 , v8::internal::kMaglevved = 1 << 5 , v8::internal::kTurboFanned = 1 << 6 , v8::internal::kInterpreted = 1 << 7 ,
  v8::internal::kMarkedForOptimization = 1 << 8 , v8::internal::kMarkedForConcurrentOptimization = 1 << 9 , v8::internal::kOptimizingConcurrently = 1 << 10 , v8::internal::kIsExecuting = 1 << 11 ,
  v8::internal::kTopmostFrameIsTurboFanned = 1 << 12 , v8::internal::kLiteMode = 1 << 13 , v8::internal::kMarkedForDeoptimization = 1 << 14 , v8::internal::kBaseline = 1 << 15 ,
  v8::internal::kTopmostFrameIsInterpreted = 1 << 16 , v8::internal::kTopmostFrameIsBaseline = 1 << 17 , v8::internal::kIsLazy = 1 << 18 , v8::internal::kTopmostFrameIsMaglev = 1 << 19 ,
  v8::internal::kOptimizeOnNextCallOptimizesToMaglev = 1 << 20 , v8::internal::kOptimizeMaglevOptimizesToTurbofan = 1 << 21 , v8::internal::kMarkedForMaglevOptimization = 1 << 22 , v8::internal::kMarkedForConcurrentMaglevOptimization = 1 << 23
}
 

Functions

std::ostream & v8::internal::operator<< (std::ostream &os, Runtime::FunctionId id)
 

Macro Definition Documentation

◆ COUNT

#define COUNT ( ...)
Value:
+1

◆ F [1/2]

#define F ( name,
nargs,
ressize )
Value:
Address Runtime_##name(int args_length, Address* args_object, \
Isolate* isolate);
const char * name
Definition builtins.cc:39

Definition at line 889 of file runtime.h.

◆ F [2/2]

#define F ( name,
nargs,
ressize )
Value:
k##name,

Definition at line 889 of file runtime.h.

◆ FOR_EACH_INLINE_INTRINSIC

#define FOR_EACH_INLINE_INTRINSIC ( I)
Value:
#define I(name, nargs, ressize)
Definition runtime.h:902
#define FOR_EACH_INTRINSIC_IMPL(F, I)
Definition runtime.h:872
#define NOTHING(...)
Definition macros.h:19

Definition at line 887 of file runtime.h.

◆ FOR_EACH_INTRINSIC

#define FOR_EACH_INTRINSIC ( F)
Value:
#define F(name, nargs, ressize)
Definition runtime.h:889

Definition at line 884 of file runtime.h.

◆ FOR_EACH_INTRINSIC_ARRAY

#define FOR_EACH_INTRINSIC_ARRAY ( F,
I )
Value:
F(ArrayIncludes_Slow, 3, 1) \
F(ArrayIndexOf, 3, 1) \
F(ArrayIsArray, 1, 1) \
F(ArraySpeciesConstructor, 1, 1) \
F(GrowArrayElements, 2, 1) \
F(IsArray, 1, 1) \
F(NewArray, -1 /* >= 3 */, 1) \
F(NormalizeElements, 1, 1) \
F(TransitionElementsKind, 2, 1) \
F(TransitionElementsKindWithKind, 2, 1)

Definition at line 40 of file runtime.h.

◆ FOR_EACH_INTRINSIC_ATOMICS

#define FOR_EACH_INTRINSIC_ATOMICS ( F,
I )
Value:
F(AtomicsLoad64, 2, 1) \
F(AtomicsStore64, 3, 1) \
F(AtomicsAdd, 3, 1) \
F(AtomicsAnd, 3, 1) \
F(AtomicsCompareExchange, 4, 1) \
F(AtomicsExchange, 3, 1) \
F(AtomicsNumWaitersForTesting, 2, 1) \
F(AtomicsNumUnresolvedAsyncPromisesForTesting, 2, 1) \
F(AtomicsOr, 3, 1) \
F(AtomicsSub, 3, 1) \
F(AtomicsXor, 3, 1) \
F(SetAllowAtomicsWait, 1, 1) \
F(AtomicsLoadSharedStructOrArray, 2, 1) \
F(AtomicsStoreSharedStructOrArray, 3, 1) \
F(AtomicsExchangeSharedStructOrArray, 3, 1) \
F(AtomicsCompareExchangeSharedStructOrArray, 4, 1) \
F(AtomicsSynchronizationPrimitiveNumWaitersForTesting, 1, 1) \
F(AtomicsSychronizationNumAsyncWaitersInIsolateForTesting, 0, 1)

Definition at line 52 of file runtime.h.

◆ FOR_EACH_INTRINSIC_BIGINT

#define FOR_EACH_INTRINSIC_BIGINT ( F,
I )
Value:
F(BigIntCompareToNumber, 3, 1) \
F(BigIntCompareToString, 3, 1) \
F(BigIntEqualToBigInt, 2, 1) \
F(BigIntEqualToNumber, 2, 1) \
F(BigIntEqualToString, 2, 1) \
F(BigIntExponentiate, 2, 1) \
F(BigIntMaxLengthBits, 0, 1) \
F(BigIntToNumber, 1, 1) \
F(BigIntUnaryOp, 2, 1) \
F(ToBigInt, 1, 1) \
F(ToBigIntConvertNumber, 1, 1)

Definition at line 72 of file runtime.h.

◆ FOR_EACH_INTRINSIC_CLASSES

#define FOR_EACH_INTRINSIC_CLASSES ( F,
I )
Value:
F(DefineClass, -1 /* >= 3 */, 1) \
F(LoadFromSuper, 3, 1) \
F(LoadKeyedFromSuper, 3, 1) \
F(StoreKeyedToSuper, 4, 1) \
F(StoreToSuper, 4, 1)
#define FOR_EACH_THROWING_INTRINSIC_CLASSES(F, I)
Definition runtime.h:85

Definition at line 93 of file runtime.h.

◆ FOR_EACH_INTRINSIC_COLLECTIONS

#define FOR_EACH_INTRINSIC_COLLECTIONS ( F,
I )
Value:
F(MapGrow, 1, 1) \
F(MapShrink, 1, 1) \
F(OrderedHashSetGrow, 2, 1) \
F(SetGrow, 1, 1) \
F(SetShrink, 1, 1) \
F(OrderedHashSetShrink, 1, 1) \
F(TheHole, 0, 1) \
F(WeakCollectionDelete, 3, 1) \
F(WeakCollectionSet, 4, 1) \
F(OrderedHashMapGrow, 2, 1)

Definition at line 101 of file runtime.h.

◆ FOR_EACH_INTRINSIC_COMPILER

#define FOR_EACH_INTRINSIC_COMPILER ( F,
I )
Value:
F(FunctionLogNextExecution, 1, 1) \
F(HealOptimizedCodeSlot, 1, 1) \
F(CompileOptimized, 1, 1) \
FOR_EACH_INTRINSIC_COMPILER_GENERIC(F, I)

Definition at line 149 of file runtime.h.

◆ FOR_EACH_INTRINSIC_COMPILER_GENERIC

#define FOR_EACH_INTRINSIC_COMPILER_GENERIC ( F,
I )
Value:
F(CompileOptimizedOSR, 0, 1) \
F(CompileOptimizedOSRFromMaglev, 1, 1) \
F(CompileOptimizedOSRFromMaglevInlined, 2, 1) \
F(LogOrTraceOptimizedOSREntry, 0, 1) \
F(CompileLazy, 1, 1) \
F(CompileBaseline, 1, 1) \
F(InstallBaselineCode, 1, 1) \
F(InstallSFICode, 1, 1) \
F(InstantiateAsmJs, 4, 1) \
F(NotifyDeoptimized, 0, 1) \
F(ObserveNode, 1, 1) \
F(ResolvePossiblyDirectEval, 6, 1) \
F(VerifyType, 1, 1) \
F(CheckTurboshaftTypeOf, 2, 1)

Definition at line 113 of file runtime.h.

◆ FOR_EACH_INTRINSIC_DATE

#define FOR_EACH_INTRINSIC_DATE ( F,
I )
Value:
F(DateCurrentTime, 0, 1)

Definition at line 157 of file runtime.h.

◆ FOR_EACH_INTRINSIC_DEBUG

#define FOR_EACH_INTRINSIC_DEBUG ( F,
I )
Value:
F(ClearStepping, 0, 1) \
F(CollectGarbage, 1, 1) \
F(DebugAsyncFunctionSuspended, 3, 1) \
F(DebugBreakAtEntry, 1, 1) \
F(DebugCollectCoverage, 0, 1) \
F(DebugGetLoadedScriptIds, 0, 1) \
F(DebugOnFunctionCall, 2, 1) \
F(DebugPrepareStepInSuspendedGenerator, 0, 1) \
F(DebugPromiseThen, 1, 1) \
F(DebugToggleBlockCoverage, 1, 1) \
F(DebugTogglePreciseCoverage, 1, 1) \
F(FunctionGetInferredName, 1, 1) \
F(GetBreakLocations, 1, 1) \
F(GetGeneratorScopeCount, 1, 1) \
F(GetGeneratorScopeDetails, 2, 1) \
F(HandleDebuggerStatement, 0, 1) \
F(IsBreakOnException, 1, 1) \
F(LiveEditPatchScript, 2, 1) \
F(ProfileCreateSnapshotDataBlob, 0, 1) \
F(ScheduleBreak, 0, 1) \
F(ScriptLocationFromLine2, 4, 1) \
F(SetGeneratorScopeVariableValue, 4, 1) \
I(IncBlockCounter, 2, 1)

Definition at line 159 of file runtime.h.

◆ FOR_EACH_INTRINSIC_FORIN

#define FOR_EACH_INTRINSIC_FORIN ( F,
I )
Value:
F(ForInEnumerate, 1, 1) \
F(ForInHasProperty, 2, 1)

Definition at line 184 of file runtime.h.

◆ FOR_EACH_INTRINSIC_FUNCTION

#define FOR_EACH_INTRINSIC_FUNCTION ( F,
I )
Value:
F(Call, -1 /* >= 2 */, 1) \
F(FunctionGetScriptSource, 1, 1) \
F(FunctionGetScriptId, 1, 1) \
F(FunctionGetScriptSourcePosition, 1, 1) \
F(FunctionGetSourceCode, 1, 1) \
F(FunctionIsAPIFunction, 1, 1)

Definition at line 206 of file runtime.h.

◆ FOR_EACH_INTRINSIC_GENERATOR

#define FOR_EACH_INTRINSIC_GENERATOR ( F,
I )
Value:
I(AsyncFunctionAwait, 2, 1) \
I(AsyncFunctionEnter, 2, 1) \
I(AsyncFunctionReject, 2, 1) \
I(AsyncFunctionResolve, 2, 1) \
I(AsyncGeneratorAwait, 2, 1) \
I(AsyncGeneratorReject, 2, 1) \
I(AsyncGeneratorResolve, 3, 1) \
I(AsyncGeneratorYieldWithAwait, 2, 1) \
I(CreateJSGeneratorObject, 2, 1) \
I(GeneratorClose, 1, 1) \
F(GeneratorGetFunction, 1, 1) \
I(GeneratorGetResumeMode, 1, 1)

Definition at line 214 of file runtime.h.

◆ FOR_EACH_INTRINSIC_IC

#define FOR_EACH_INTRINSIC_IC ( F,
I )
Value:
F(ElementsTransitionAndStoreIC_Miss, 6, 1) \
F(KeyedLoadIC_Miss, 4, 1) \
F(KeyedStoreIC_Miss, 5, 1) \
F(DefineKeyedOwnIC_Miss, 5, 1) \
F(StoreInArrayLiteralIC_Miss, 5, 1) \
F(DefineNamedOwnIC_Slow, 3, 1) \
F(KeyedStoreIC_Slow, 3, 1) \
F(DefineKeyedOwnIC_Slow, 3, 1) \
F(LoadElementWithInterceptor, 2, 1) \
F(LoadGlobalIC_Miss, 4, 1) \
F(LoadGlobalIC_Slow, 3, 1) \
F(LoadIC_Miss, 4, 1) \
F(LoadNoFeedbackIC_Miss, 4, 1) \
F(LoadWithReceiverIC_Miss, 5, 1) \
F(LoadWithReceiverNoFeedbackIC_Miss, 3, 1) \
F(LoadPropertyWithInterceptor, 5, 1) \
F(StoreCallbackProperty, 5, 1) \
F(StoreGlobalIC_Miss, 4, 1) \
F(StoreGlobalICNoFeedback_Miss, 2, 1) \
F(StoreGlobalIC_Slow, 5, 1) \
F(StoreIC_Miss, 5, 1) \
F(DefineNamedOwnIC_Miss, 5, 1) \
F(StoreInArrayLiteralIC_Slow, 5, 1) \
F(StorePropertyWithInterceptor, 5, 1) \
F(CloneObjectIC_Slow, 2, 1) \
F(CloneObjectIC_Miss, 4, 1) \
F(KeyedHasIC_Miss, 4, 1) \
F(HasElementWithInterceptor, 2, 1) \
F(ObjectAssignTryFastcase, 2, 1)

Definition at line 798 of file runtime.h.

◆ FOR_EACH_INTRINSIC_IMPL

#define FOR_EACH_INTRINSIC_IMPL ( F,
I )
Value:
FOR_EACH_INTRINSIC_RETURN_OBJECT_IMPL(F, I)
#define FOR_EACH_INTRINSIC_RETURN_PAIR_IMPL(F, I)
Definition runtime.h:792

Definition at line 872 of file runtime.h.

◆ FOR_EACH_INTRINSIC_INTERNAL

#define FOR_EACH_INTRINSIC_INTERNAL ( F,
I )

Definition at line 265 of file runtime.h.

◆ FOR_EACH_INTRINSIC_INTL

#define FOR_EACH_INTRINSIC_INTL ( F,
I )

Definition at line 236 of file runtime.h.

◆ FOR_EACH_INTRINSIC_LITERALS

#define FOR_EACH_INTRINSIC_LITERALS ( F,
I )
Value:
F(CreateArrayLiteral, 4, 1) \
F(CreateObjectLiteral, 4, 1) \
F(CreateRegExpLiteral, 4, 1)

Definition at line 305 of file runtime.h.

◆ FOR_EACH_INTRINSIC_MODULE

#define FOR_EACH_INTRINSIC_MODULE ( F,
I )
Value:
F(DynamicImportCall, -1 /* [3, 4] */, 1) \
I(GetImportMetaObject, 0, 1) \
F(GetModuleNamespace, 1, 1) \
F(GetModuleNamespaceExport, 2, 1)

Definition at line 310 of file runtime.h.

◆ FOR_EACH_INTRINSIC_NUMBERS

#define FOR_EACH_INTRINSIC_NUMBERS ( F,
I )
Value:
F(ArrayBufferMaxByteLength, 0, 1) \
F(GetHoleNaNLower, 0, 1) \
F(GetHoleNaNUpper, 0, 1) \
F(IsSmi, 1, 1) \
F(MaxSmi, 0, 1) \
F(NumberToStringSlow, 1, 1) \
F(StringParseFloat, 1, 1) \
F(StringParseInt, 2, 1) \
F(StringToNumber, 1, 1)

Definition at line 316 of file runtime.h.

◆ FOR_EACH_INTRINSIC_OBJECT

#define FOR_EACH_INTRINSIC_OBJECT ( F,
I )

Definition at line 327 of file runtime.h.

◆ FOR_EACH_INTRINSIC_OPERATORS

#define FOR_EACH_INTRINSIC_OPERATORS ( F,
I )
Value:
F(Add, 2, 1) \
F(Equal, 2, 1) \
F(GreaterThan, 2, 1) \
F(GreaterThanOrEqual, 2, 1) \
F(LessThan, 2, 1) \
F(LessThanOrEqual, 2, 1) \
F(NotEqual, 2, 1) \
F(StrictEqual, 2, 1) \
F(StrictNotEqual, 2, 1) \
F(ReferenceEqual, 2, 1)

Definition at line 407 of file runtime.h.

◆ FOR_EACH_INTRINSIC_PROMISE

#define FOR_EACH_INTRINSIC_PROMISE ( F,
I )
Value:
F(EnqueueMicrotask, 1, 1) \
F(PromiseHookAfter, 1, 1) \
F(PromiseHookBefore, 1, 1) \
F(PromiseHookInit, 2, 1) \
F(PromiseRejectEventFromStack, 2, 1) \
F(PromiseRevokeReject, 1, 1) \
F(RejectPromise, 3, 1) \
F(ResolvePromise, 2, 1) \
F(PromiseRejectAfterResolved, 2, 1) \
F(PromiseResolveAfterResolved, 2, 1) \
F(ConstructSuppressedError, 3, 1) \
F(ConstructAggregateErrorHelper, 4, 1) \
F(ConstructInternalAggregateErrorHelper, -1 /* <= 5*/, 1)

Definition at line 419 of file runtime.h.

◆ FOR_EACH_INTRINSIC_PROXY

#define FOR_EACH_INTRINSIC_PROXY ( F,
I )
Value:
F(CheckProxyGetSetTrapResult, 2, 1) \
F(CheckProxyHasTrapResult, 2, 1) \
F(CheckProxyDeleteTrapResult, 2, 1) \
F(GetPropertyWithReceiver, 3, 1) \
F(IsJSProxy, 1, 1) \
F(JSProxyGetHandler, 1, 1) \
F(JSProxyGetTarget, 1, 1) \
F(SetPropertyWithReceiver, 4, 1)

Definition at line 434 of file runtime.h.

◆ FOR_EACH_INTRINSIC_REGEXP

#define FOR_EACH_INTRINSIC_REGEXP ( F,
I )
Value:
F(RegExpBuildIndices, 3, 1) \
F(RegExpGrowRegExpMatchInfo, 2, 1) \
F(RegExpExecMultiple, 3, 1) \
F(RegExpInitializeAndCompile, 3, 1) \
F(RegExpMatchGlobalAtom, 3, 1) \
F(RegExpReplaceRT, 3, 1) \
F(RegExpSplit, 3, 1) \
F(RegExpStringFromFlags, 1, 1) \
F(StringReplaceNonGlobalRegExpWithFunction, 3, 1) \
F(StringSplit, 3, 1) \
F(RegExpExec, 4, 1) \
F(RegExpExperimentalOneshotExec, 4, 1)

Definition at line 444 of file runtime.h.

◆ FOR_EACH_INTRINSIC_RETURN_OBJECT

#define FOR_EACH_INTRINSIC_RETURN_OBJECT ( F)
Value:
#define FOR_EACH_INTRINSIC_RETURN_OBJECT_IMPL(F, I)
Definition runtime.h:829

Definition at line 876 of file runtime.h.

◆ FOR_EACH_INTRINSIC_RETURN_OBJECT_IMPL

#define FOR_EACH_INTRINSIC_RETURN_OBJECT_IMPL ( F,
I )

Definition at line 829 of file runtime.h.

◆ FOR_EACH_INTRINSIC_RETURN_PAIR

#define FOR_EACH_INTRINSIC_RETURN_PAIR ( F)
Value:

Definition at line 879 of file runtime.h.

◆ FOR_EACH_INTRINSIC_RETURN_PAIR_IMPL

#define FOR_EACH_INTRINSIC_RETURN_PAIR_IMPL ( F,
I )
Value:
F(DebugBreakOnBytecode, 1, 2) \
F(LoadLookupSlotForCall, 1, 2)

Definition at line 792 of file runtime.h.

◆ FOR_EACH_INTRINSIC_SCOPES

#define FOR_EACH_INTRINSIC_SCOPES ( F,
I )
Value:
F(DeclareEvalFunction, 2, 1) \
F(DeclareEvalVar, 1, 1) \
F(DeclareGlobals, 2, 1) \
F(DeclareModuleExports, 2, 1) \
F(DeleteLookupSlot, 1, 1) \
F(LoadLookupSlot, 1, 1) \
F(LoadLookupSlotInsideTypeof, 1, 1) \
F(LoadLookupSlotForCall_Baseline, 2, 1) \
\
F(NewClosure, 2, 1) \
F(NewClosure_Tenured, 2, 1) \
F(NewFunctionContext, 1, 1) \
F(NewRestParameter, 1, 1) \
F(NewSloppyArguments, 1, 1) \
F(NewStrictArguments, 1, 1) \
F(PushBlockContext, 1, 1) \
F(PushCatchContext, 2, 1) \
F(PushWithContext, 2, 1) \
F(StoreGlobalNoHoleCheckForReplLetOrConst, 2, 1) \
F(StoreLookupSlot_Sloppy, 2, 1) \
F(StoreLookupSlot_SloppyHoisting, 2, 1) \
F(StoreLookupSlot_Strict, 2, 1)
#define FOR_EACH_THROWING_INTRINSIC_SCOPES(F, I)
Definition runtime.h:458

Definition at line 462 of file runtime.h.

◆ FOR_EACH_INTRINSIC_SHADOW_REALM

#define FOR_EACH_INTRINSIC_SHADOW_REALM ( F,
I )
Value:
F(ShadowRealmWrappedFunctionCreate, 2, 1) \
F(ShadowRealmImportValue, 1, 1) \
F(ShadowRealmThrow, 2, 1)

Definition at line 487 of file runtime.h.

◆ FOR_EACH_INTRINSIC_STRINGS

#define FOR_EACH_INTRINSIC_STRINGS ( F,
I )
Value:
F(FlattenString, 1, 1) \
F(GetSubstitution, 5, 1) \
F(InternalizeString, 1, 1) \
F(StringAdd, 2, 1) \
F(StringBuilderConcat, 3, 1) \
F(StringCharCodeAt, 2, 1) \
F(StringCodePointAt, 2, 1) \
F(StringCompare, 2, 1) \
F(StringEqual, 2, 1) \
F(StringEscapeQuotes, 1, 1) \
F(StringGreaterThan, 2, 1) \
F(StringGreaterThanOrEqual, 2, 1) \
F(StringIsWellFormed, 1, 1) \
F(StringLastIndexOf, 2, 1) \
F(StringLessThan, 2, 1) \
F(StringLessThanOrEqual, 2, 1) \
F(StringMaxLength, 0, 1) \
F(StringReplaceOneCharWithString, 3, 1) \
F(StringSubstring, 3, 1) \
F(StringToArray, 2, 1) \
F(StringToWellFormed, 1, 1)

Definition at line 492 of file runtime.h.

◆ FOR_EACH_INTRINSIC_SYMBOL

#define FOR_EACH_INTRINSIC_SYMBOL ( F,
I )
Value:
F(CreatePrivateNameSymbol, 1, 1) \
F(CreatePrivateBrandSymbol, 1, 1) \
F(CreatePrivateSymbol, -1 /* <= 1 */, 1) \
F(SymbolDescriptiveString, 1, 1) \
F(SymbolIsPrivate, 1, 1)

Definition at line 515 of file runtime.h.

◆ FOR_EACH_INTRINSIC_TEMPORAL

#define FOR_EACH_INTRINSIC_TEMPORAL ( F,
I )
Value:
F(IsInvalidTemporalCalendarField, 2, 1)

Definition at line 522 of file runtime.h.

◆ FOR_EACH_INTRINSIC_TEST

#define FOR_EACH_INTRINSIC_TEST ( F,
I )

Definition at line 525 of file runtime.h.

◆ FOR_EACH_INTRINSIC_TIERING

#define FOR_EACH_INTRINSIC_TIERING ( F,
I )

Definition at line 147 of file runtime.h.

◆ FOR_EACH_INTRINSIC_TRACE

#define FOR_EACH_INTRINSIC_TRACE ( F,
I )
Value:
FOR_EACH_INTRINSIC_TRACE_FEEDBACK(F, I)
#define FOR_EACH_INTRINSIC_TRACE_UNOPTIMIZED(F, I)
Definition runtime.h:193

Definition at line 202 of file runtime.h.

◆ FOR_EACH_INTRINSIC_TRACE_FEEDBACK

#define FOR_EACH_INTRINSIC_TRACE_FEEDBACK ( F,
I )

Definition at line 199 of file runtime.h.

◆ FOR_EACH_INTRINSIC_TRACE_UNOPTIMIZED

#define FOR_EACH_INTRINSIC_TRACE_UNOPTIMIZED ( F,
I )

Definition at line 193 of file runtime.h.

◆ FOR_EACH_INTRINSIC_TYPEDARRAY

#define FOR_EACH_INTRINSIC_TYPEDARRAY ( F,
I )
Value:
F(ArrayBufferDetach, -1, 1) \
F(ArrayBufferSetDetachKey, 2, 1) \
F(GrowableSharedArrayBufferByteLength, 1, 1) \
F(TypedArrayCopyElements, 3, 1) \
F(TypedArrayGetBuffer, 1, 1) \
F(TypedArraySet, 2, 1) \
F(TypedArraySortFast, 1, 1)

Definition at line 662 of file runtime.h.

◆ FOR_EACH_INTRINSIC_WASM

#define FOR_EACH_INTRINSIC_WASM ( F,
I )

Definition at line 677 of file runtime.h.

◆ FOR_EACH_INTRINSIC_WASM_DRUMBRAKE

#define FOR_EACH_INTRINSIC_WASM_DRUMBRAKE ( F,
I )

Definition at line 674 of file runtime.h.

◆ FOR_EACH_INTRINSIC_WASM_DRUMBRAKE_TEST

#define FOR_EACH_INTRINSIC_WASM_DRUMBRAKE_TEST ( F,
I )
Value:
F(WasmTraceBeginExecution, 0, 1) \
F(WasmTraceEndExecution, 0, 1)

Definition at line 784 of file runtime.h.

◆ FOR_EACH_INTRINSIC_WASM_TEST

#define FOR_EACH_INTRINSIC_WASM_TEST ( F,
I )

Definition at line 738 of file runtime.h.

◆ FOR_EACH_INTRINSIC_WEAKREF

#define FOR_EACH_INTRINSIC_WEAKREF ( F,
I )
Value:
F(JSFinalizationRegistryRegisterWeakCellWithUnregisterToken, 4, 1) \
F(JSWeakRefAddToKeptObjects, 1, 1) \

Definition at line 788 of file runtime.h.

◆ FOR_EACH_THROWING_INTRINSIC

#define FOR_EACH_THROWING_INTRINSIC ( F)
Value:
FOR_EACH_THROWING_INTRINSIC_INTERNAL(F, F) \
FOR_EACH_THROWING_INTRINSIC_SCOPES(F, F)

Definition at line 865 of file runtime.h.

◆ FOR_EACH_THROWING_INTRINSIC_CLASSES

#define FOR_EACH_THROWING_INTRINSIC_CLASSES ( F,
I )
Value:
F(ThrowConstructorNonCallableError, 1, 1) \
F(ThrowNotSuperConstructor, 2, 1) \
F(ThrowStaticPrototypeError, 0, 1) \
F(ThrowSuperAlreadyCalledError, 0, 1) \
F(ThrowSuperNotCalled, 0, 1) \
F(ThrowUnsupportedSuperError, 0, 1)

Definition at line 85 of file runtime.h.

◆ FOR_EACH_THROWING_INTRINSIC_INTERNAL

#define FOR_EACH_THROWING_INTRINSIC_INTERNAL ( F,
I )
Value:
F(Throw, 1, 1) \
F(ThrowApplyNonFunction, 1, 1) \
F(ThrowCalledNonCallable, 1, 1) \
F(ThrowConstructedNonConstructable, 1, 1) \
F(ThrowConstructorReturnedNonObject, 0, 1) \
F(ThrowInvalidStringLength, 0, 1) \
F(ThrowInvalidTypedArrayAlignment, 2, 1) \
F(ThrowIteratorError, 1, 1) \
F(ThrowSpreadArgError, 2, 1) \
F(ThrowIteratorResultNotAnObject, 1, 1) \
F(ThrowNoAccess, 0, 1) \
F(ThrowNotConstructor, 1, 1) \
F(ThrowPatternAssignmentNonCoercible, 1, 1) \
F(ThrowRangeError, -1 /* >= 1 */, 1) \
F(ThrowReferenceError, 1, 1) \
F(ThrowAccessedUninitializedVariable, 1, 1) \
F(ThrowStackOverflow, 0, 1) \
F(ThrowSymbolAsyncIteratorInvalid, 0, 1) \
F(ThrowSymbolIteratorInvalid, 0, 1) \
F(ThrowThrowMethodMissing, 0, 1) \
F(ThrowTypeError, -1 /* >= 1 */, 1) \
F(ThrowTypeErrorIfStrict, -1 /* >= 1 */, 1) \
F(ReThrow, 1, 1) \
F(ReThrowWithMessage, 2, 1)

Definition at line 239 of file runtime.h.

◆ FOR_EACH_THROWING_INTRINSIC_SCOPES

#define FOR_EACH_THROWING_INTRINSIC_SCOPES ( F,
I )
Value:
F(ThrowConstAssignError, 0, 1) \
F(ThrowUsingAssignError, 0, 1)

Definition at line 458 of file runtime.h.

◆ I

#define I ( name,
nargs,
ressize )
Value:

Definition at line 902 of file runtime.h.