[cleanup] Sort runtime function lists
Bug: v8:7570 Change-Id: Ia5778eb1d843ace71b9a41d156751e7732221af7 Reviewed-on: https://chromium-review.googlesource.com/966721 Commit-Queue: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Toon Verwaest <verwaest@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#52017}
This commit is contained in:
parent
e57b500eb2
commit
9b07e2ee3f
@ -312,53 +312,53 @@ bool IntrinsicHasNoSideEffect(Runtime::FunctionId id) {
|
||||
// Use macro to include both inlined and non-inlined version of an intrinsic.
|
||||
#define INTRINSIC_WHITELIST(V) \
|
||||
/* Conversions */ \
|
||||
V(NumberToStringSkipCache) \
|
||||
V(ToBigInt) \
|
||||
V(ToInteger) \
|
||||
V(ToObject) \
|
||||
V(ToString) \
|
||||
V(ToLength) \
|
||||
V(ToNumber) \
|
||||
V(ToBigInt) \
|
||||
V(NumberToStringSkipCache) \
|
||||
V(ToObject) \
|
||||
V(ToString) \
|
||||
/* Type checks */ \
|
||||
V(IsJSReceiver) \
|
||||
V(IsSmi) \
|
||||
V(IsArray) \
|
||||
V(IsFunction) \
|
||||
V(IsDate) \
|
||||
V(IsJSProxy) \
|
||||
V(IsFunction) \
|
||||
V(IsJSMap) \
|
||||
V(IsJSProxy) \
|
||||
V(IsJSReceiver) \
|
||||
V(IsJSSet) \
|
||||
V(IsJSWeakMap) \
|
||||
V(IsJSWeakSet) \
|
||||
V(IsRegExp) \
|
||||
V(IsSmi) \
|
||||
V(IsTypedArray) \
|
||||
/* Loads */ \
|
||||
V(LoadLookupSlotForCall) \
|
||||
/* Arrays */ \
|
||||
V(ArraySpeciesConstructor) \
|
||||
V(NormalizeElements) \
|
||||
V(GetArrayKeys) \
|
||||
V(TrySliceSimpleNonFastElements) \
|
||||
V(HasComplexElements) \
|
||||
V(EstimateNumberOfElements) \
|
||||
V(GetArrayKeys) \
|
||||
V(HasComplexElements) \
|
||||
V(NewArray) \
|
||||
V(NormalizeElements) \
|
||||
V(TrySliceSimpleNonFastElements) \
|
||||
V(TypedArrayGetBuffer) \
|
||||
/* Errors */ \
|
||||
V(NewTypeError) \
|
||||
V(ReThrow) \
|
||||
V(ThrowCalledNonCallable) \
|
||||
V(ThrowInvalidStringLength) \
|
||||
V(ThrowIteratorResultNotAnObject) \
|
||||
V(ThrowReferenceError) \
|
||||
V(ThrowSymbolIteratorInvalid) \
|
||||
V(ThrowIteratorResultNotAnObject) \
|
||||
V(NewTypeError) \
|
||||
V(ThrowInvalidStringLength) \
|
||||
V(ThrowCalledNonCallable) \
|
||||
/* Strings */ \
|
||||
V(StringIndexOf) \
|
||||
V(RegExpInternalReplace) \
|
||||
V(StringIncludes) \
|
||||
V(StringIndexOf) \
|
||||
V(StringReplaceOneCharWithString) \
|
||||
V(StringSubstring) \
|
||||
V(StringToNumber) \
|
||||
V(StringTrim) \
|
||||
V(StringSubstring) \
|
||||
V(RegExpInternalReplace) \
|
||||
/* BigInts */ \
|
||||
V(BigIntEqualToBigInt) \
|
||||
V(BigIntToBoolean) \
|
||||
@ -401,16 +401,16 @@ bool IntrinsicHasNoSideEffect(Runtime::FunctionId id) {
|
||||
V(ToName) \
|
||||
/* Misc. */ \
|
||||
V(Call) \
|
||||
V(MaxSmi) \
|
||||
V(NewObject) \
|
||||
V(CompleteInobjectSlackTrackingForMap) \
|
||||
V(HasInPrototypeChain) \
|
||||
V(MaxSmi) \
|
||||
V(NewObject) \
|
||||
V(StringMaxLength) \
|
||||
/* Test */ \
|
||||
V(OptimizeOsr) \
|
||||
V(GetOptimizationStatus) \
|
||||
V(OptimizeFunctionOnNextCall) \
|
||||
V(UnblockConcurrentRecompilation) \
|
||||
V(GetOptimizationStatus)
|
||||
V(OptimizeOsr) \
|
||||
V(UnblockConcurrentRecompilation)
|
||||
|
||||
#define CASE(Name) \
|
||||
case Runtime::k##Name: \
|
||||
|
@ -36,32 +36,32 @@ namespace internal {
|
||||
// A variable number of arguments is specified by a -1, additional restrictions
|
||||
// are specified by inline comments
|
||||
|
||||
#define FOR_EACH_INTRINSIC_ARRAY(F) \
|
||||
F(TransitionElementsKind, 2, 1) \
|
||||
F(RemoveArrayHoles, 2, 1) \
|
||||
F(MoveArrayContents, 2, 1) \
|
||||
F(EstimateNumberOfElements, 1, 1) \
|
||||
F(GetArrayKeys, 2, 1) \
|
||||
F(TrySliceSimpleNonFastElements, 3, 1) \
|
||||
F(NewArray, -1 /* >= 3 */, 1) \
|
||||
F(NormalizeElements, 1, 1) \
|
||||
F(GrowArrayElements, 2, 1) \
|
||||
F(HasComplexElements, 1, 1) \
|
||||
F(IsArray, 1, 1) \
|
||||
F(ArrayIsArray, 1, 1) \
|
||||
F(ArraySpeciesConstructor, 1, 1) \
|
||||
F(ArrayIncludes_Slow, 3, 1) \
|
||||
F(ArrayIndexOf, 3, 1)
|
||||
#define FOR_EACH_INTRINSIC_ARRAY(F) \
|
||||
F(ArrayIncludes_Slow, 3, 1) \
|
||||
F(ArrayIndexOf, 3, 1) \
|
||||
F(ArrayIsArray, 1, 1) \
|
||||
F(ArraySpeciesConstructor, 1, 1) \
|
||||
F(EstimateNumberOfElements, 1, 1) \
|
||||
F(GetArrayKeys, 2, 1) \
|
||||
F(GrowArrayElements, 2, 1) \
|
||||
F(HasComplexElements, 1, 1) \
|
||||
F(IsArray, 1, 1) \
|
||||
F(MoveArrayContents, 2, 1) \
|
||||
F(NewArray, -1 /* >= 3 */, 1) \
|
||||
F(NormalizeElements, 1, 1) \
|
||||
F(RemoveArrayHoles, 2, 1) \
|
||||
F(TransitionElementsKind, 2, 1) \
|
||||
F(TrySliceSimpleNonFastElements, 3, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_ATOMICS(F) \
|
||||
F(AtomicsExchange, 3, 1) \
|
||||
F(AtomicsCompareExchange, 4, 1) \
|
||||
F(AtomicsAdd, 3, 1) \
|
||||
F(AtomicsSub, 3, 1) \
|
||||
F(AtomicsAnd, 3, 1) \
|
||||
F(AtomicsOr, 3, 1) \
|
||||
F(AtomicsXor, 3, 1) \
|
||||
F(AtomicsNumWaitersForTesting, 2, 1) \
|
||||
#define FOR_EACH_INTRINSIC_ATOMICS(F) \
|
||||
F(AtomicsAdd, 3, 1) \
|
||||
F(AtomicsAnd, 3, 1) \
|
||||
F(AtomicsCompareExchange, 4, 1) \
|
||||
F(AtomicsExchange, 3, 1) \
|
||||
F(AtomicsNumWaitersForTesting, 2, 1) \
|
||||
F(AtomicsOr, 3, 1) \
|
||||
F(AtomicsSub, 3, 1) \
|
||||
F(AtomicsXor, 3, 1) \
|
||||
F(SetAllowAtomicsWait, 1, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_BIGINT(F) \
|
||||
@ -77,107 +77,107 @@ namespace internal {
|
||||
F(ToBigInt, 1, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_CLASSES(F) \
|
||||
F(ThrowUnsupportedSuperError, 0, 1) \
|
||||
F(DefineClass, -1 /* >= 3 */, 1) \
|
||||
F(GetSuperConstructor, 1, 1) \
|
||||
F(HomeObjectSymbol, 0, 1) \
|
||||
F(LoadFromSuper, 3, 1) \
|
||||
F(LoadKeyedFromSuper, 3, 1) \
|
||||
F(StoreKeyedToSuper_Sloppy, 4, 1) \
|
||||
F(StoreKeyedToSuper_Strict, 4, 1) \
|
||||
F(StoreToSuper_Sloppy, 4, 1) \
|
||||
F(StoreToSuper_Strict, 4, 1) \
|
||||
F(ThrowConstructorNonCallableError, 1, 1) \
|
||||
F(ThrowNotSuperConstructor, 2, 1) \
|
||||
F(ThrowStaticPrototypeError, 0, 1) \
|
||||
F(ThrowSuperAlreadyCalledError, 0, 1) \
|
||||
F(ThrowSuperNotCalled, 0, 1) \
|
||||
F(ThrowNotSuperConstructor, 2, 1) \
|
||||
F(HomeObjectSymbol, 0, 1) \
|
||||
F(DefineClass, -1 /* >= 3 */, 1) \
|
||||
F(LoadFromSuper, 3, 1) \
|
||||
F(LoadKeyedFromSuper, 3, 1) \
|
||||
F(StoreToSuper_Strict, 4, 1) \
|
||||
F(StoreToSuper_Sloppy, 4, 1) \
|
||||
F(StoreKeyedToSuper_Strict, 4, 1) \
|
||||
F(StoreKeyedToSuper_Sloppy, 4, 1) \
|
||||
F(GetSuperConstructor, 1, 1)
|
||||
F(ThrowUnsupportedSuperError, 0, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_COLLECTIONS(F) \
|
||||
F(TheHole, 0, 1) \
|
||||
F(SetGrow, 1, 1) \
|
||||
F(SetShrink, 1, 1) \
|
||||
F(SetIteratorClone, 1, 1) \
|
||||
F(MapShrink, 1, 1) \
|
||||
F(MapGrow, 1, 1) \
|
||||
F(MapIteratorClone, 1, 1) \
|
||||
F(GetWeakMapEntries, 2, 1) \
|
||||
F(WeakCollectionDelete, 3, 1) \
|
||||
F(WeakCollectionSet, 4, 1) \
|
||||
F(GetWeakSetValues, 2, 1) \
|
||||
F(IsJSMap, 1, 1) \
|
||||
F(IsJSSet, 1, 1) \
|
||||
F(IsJSWeakMap, 1, 1) \
|
||||
F(IsJSWeakSet, 1, 1)
|
||||
F(IsJSWeakSet, 1, 1) \
|
||||
F(MapGrow, 1, 1) \
|
||||
F(MapIteratorClone, 1, 1) \
|
||||
F(MapShrink, 1, 1) \
|
||||
F(SetGrow, 1, 1) \
|
||||
F(SetIteratorClone, 1, 1) \
|
||||
F(SetShrink, 1, 1) \
|
||||
F(TheHole, 0, 1) \
|
||||
F(WeakCollectionDelete, 3, 1) \
|
||||
F(WeakCollectionSet, 4, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_COMPILER(F) \
|
||||
F(CompileForOnStackReplacement, 1, 1) \
|
||||
F(CompileLazy, 1, 1) \
|
||||
F(CompileOptimized_Concurrent, 1, 1) \
|
||||
F(FunctionFirstExecution, 1, 1) \
|
||||
F(CompileOptimized_NotConcurrent, 1, 1) \
|
||||
F(EvictOptimizedCodeSlot, 1, 1) \
|
||||
F(FunctionFirstExecution, 1, 1) \
|
||||
F(InstantiateAsmJs, 4, 1) \
|
||||
F(NotifyDeoptimized, 0, 1) \
|
||||
F(CompileForOnStackReplacement, 1, 1) \
|
||||
F(ResolvePossiblyDirectEval, 6, 1) \
|
||||
F(InstantiateAsmJs, 4, 1)
|
||||
F(ResolvePossiblyDirectEval, 6, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_DATE(F) \
|
||||
F(IsDate, 1, 1) \
|
||||
F(DateCurrentTime, 0, 1)
|
||||
F(DateCurrentTime, 0, 1) \
|
||||
F(IsDate, 1, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_DEBUG(F) \
|
||||
F(HandleDebuggerStatement, 0, 1) \
|
||||
F(ScheduleBreak, 0, 1) \
|
||||
F(DebugGetInternalProperties, 1, 1) \
|
||||
F(DebugGetPropertyDetails, 2, 1) \
|
||||
F(DebugGetProperty, 2, 1) \
|
||||
F(DebugPropertyKindFromDetails, 1, 1) \
|
||||
F(DebugPropertyAttributesFromDetails, 1, 1) \
|
||||
F(ChangeBreakOnException, 2, 1) \
|
||||
F(CheckExecutionState, 1, 1) \
|
||||
F(ClearStepping, 0, 1) \
|
||||
F(CollectGarbage, 1, 1) \
|
||||
F(DebugAsyncFunctionPromiseCreated, 1, 1) \
|
||||
F(DebugBreakAtEntry, 1, 1) \
|
||||
F(DebugCollectCoverage, 0, 1) \
|
||||
F(DebugConstructedBy, 2, 1) \
|
||||
F(DebugEvaluate, 5, 1) \
|
||||
F(DebugEvaluateGlobal, 2, 1) \
|
||||
F(DebugGetInternalProperties, 1, 1) \
|
||||
F(DebugGetLoadedScripts, 0, 1) \
|
||||
F(DebugGetProperty, 2, 1) \
|
||||
F(DebugGetPropertyDetails, 2, 1) \
|
||||
F(DebugGetPrototype, 1, 1) \
|
||||
F(DebugIsActive, 0, 1) \
|
||||
F(DebugOnFunctionCall, 1, 1) \
|
||||
F(DebugPopPromise, 0, 1) \
|
||||
F(DebugPrepareStepInSuspendedGenerator, 0, 1) \
|
||||
F(DebugPropertyAttributesFromDetails, 1, 1) \
|
||||
F(DebugPropertyKindFromDetails, 1, 1) \
|
||||
F(DebugPushPromise, 1, 1) \
|
||||
F(DebugReferencedBy, 3, 1) \
|
||||
F(DebugSetScriptSource, 2, 1) \
|
||||
F(DebugToggleBlockCoverage, 1, 1) \
|
||||
F(DebugTogglePreciseCoverage, 1, 1) \
|
||||
F(FunctionGetDebugName, 1, 1) \
|
||||
F(FunctionGetInferredName, 1, 1) \
|
||||
F(GetAllScopesDetails, 4, 1) \
|
||||
F(GetBreakLocations, 1, 1) \
|
||||
F(GetDebugContext, 0, 1) \
|
||||
F(GetFrameCount, 1, 1) \
|
||||
F(GetFrameDetails, 2, 1) \
|
||||
F(GetScopeCount, 2, 1) \
|
||||
F(GetScopeDetails, 4, 1) \
|
||||
F(GetAllScopesDetails, 4, 1) \
|
||||
F(GetFunctionScopeCount, 1, 1) \
|
||||
F(GetFunctionScopeDetails, 2, 1) \
|
||||
F(GetGeneratorScopeCount, 1, 1) \
|
||||
F(GetGeneratorScopeDetails, 2, 1) \
|
||||
F(SetScopeVariableValue, 6, 1) \
|
||||
F(GetBreakLocations, 1, 1) \
|
||||
F(ChangeBreakOnException, 2, 1) \
|
||||
F(GetHeapUsage, 0, 1) \
|
||||
F(GetScopeCount, 2, 1) \
|
||||
F(GetScopeDetails, 4, 1) \
|
||||
F(GetScript, 1, 1) \
|
||||
F(HandleDebuggerStatement, 0, 1) \
|
||||
F(IncBlockCounter, 2, 1) \
|
||||
F(IsBreakOnException, 1, 1) \
|
||||
F(PrepareStep, 2, 1) \
|
||||
F(ClearStepping, 0, 1) \
|
||||
F(DebugEvaluate, 5, 1) \
|
||||
F(DebugEvaluateGlobal, 2, 1) \
|
||||
F(DebugGetLoadedScripts, 0, 1) \
|
||||
F(DebugReferencedBy, 3, 1) \
|
||||
F(DebugConstructedBy, 2, 1) \
|
||||
F(DebugGetPrototype, 1, 1) \
|
||||
F(DebugSetScriptSource, 2, 1) \
|
||||
F(FunctionGetInferredName, 1, 1) \
|
||||
F(FunctionGetDebugName, 1, 1) \
|
||||
F(GetDebugContext, 0, 1) \
|
||||
F(CollectGarbage, 1, 1) \
|
||||
F(GetHeapUsage, 0, 1) \
|
||||
F(GetScript, 1, 1) \
|
||||
F(ScheduleBreak, 0, 1) \
|
||||
F(ScriptLineCount, 1, 1) \
|
||||
F(ScriptLocationFromLine, 4, 1) \
|
||||
F(ScriptLocationFromLine2, 4, 1) \
|
||||
F(ScriptPositionInfo, 3, 1) \
|
||||
F(ScriptLocationFromLine, 4, 1) \
|
||||
F(ScriptPositionInfo2, 3, 1) \
|
||||
F(DebugBreakAtEntry, 1, 1) \
|
||||
F(DebugOnFunctionCall, 1, 1) \
|
||||
F(DebugPrepareStepInSuspendedGenerator, 0, 1) \
|
||||
F(DebugPushPromise, 1, 1) \
|
||||
F(DebugPopPromise, 0, 1) \
|
||||
F(DebugAsyncFunctionPromiseCreated, 1, 1) \
|
||||
F(DebugIsActive, 0, 1) \
|
||||
F(DebugCollectCoverage, 0, 1) \
|
||||
F(DebugTogglePreciseCoverage, 1, 1) \
|
||||
F(DebugToggleBlockCoverage, 1, 1) \
|
||||
F(IncBlockCounter, 2, 1)
|
||||
F(ScriptPositionInfo, 3, 1) \
|
||||
F(SetScopeVariableValue, 6, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1)
|
||||
|
||||
@ -206,66 +206,66 @@ namespace internal {
|
||||
F(InterpreterDeserializeLazy, 2, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_FUNCTION(F) \
|
||||
F(Call, -1 /* >= 2 */, 1) \
|
||||
F(FunctionGetContextData, 1, 1) \
|
||||
F(FunctionGetName, 1, 1) \
|
||||
F(FunctionGetScript, 1, 1) \
|
||||
F(FunctionGetScriptId, 1, 1) \
|
||||
F(FunctionGetSourceCode, 1, 1) \
|
||||
F(FunctionGetScriptSourcePosition, 1, 1) \
|
||||
F(FunctionGetContextData, 1, 1) \
|
||||
F(FunctionGetSourceCode, 1, 1) \
|
||||
F(FunctionIsAPIFunction, 1, 1) \
|
||||
F(SetCode, 2, 1) \
|
||||
F(SetNativeFlag, 1, 1) \
|
||||
F(FunctionToString, 1, 1) \
|
||||
F(IsConstructor, 1, 1) \
|
||||
F(Call, -1 /* >= 2 */, 1) \
|
||||
F(IsFunction, 1, 1) \
|
||||
F(FunctionToString, 1, 1)
|
||||
F(SetCode, 2, 1) \
|
||||
F(SetNativeFlag, 1, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_GENERATOR(F) \
|
||||
F(CreateJSGeneratorObject, 2, 1) \
|
||||
F(GeneratorClose, 1, 1) \
|
||||
F(GeneratorGetFunction, 1, 1) \
|
||||
F(GeneratorGetReceiver, 1, 1) \
|
||||
F(GeneratorGetInputOrDebugPos, 1, 1) \
|
||||
F(AsyncFunctionAwaitCaught, 3, 1) \
|
||||
F(AsyncFunctionAwaitUncaught, 3, 1) \
|
||||
F(AsyncGeneratorResolve, 3, 1) \
|
||||
F(AsyncGeneratorReject, 2, 1) \
|
||||
F(AsyncGeneratorYield, 3, 1) \
|
||||
F(AsyncGeneratorAwaitCaught, 2, 1) \
|
||||
F(AsyncGeneratorAwaitUncaught, 2, 1) \
|
||||
F(GeneratorGetContinuation, 1, 1) \
|
||||
F(GeneratorGetSourcePosition, 1, 1) \
|
||||
F(GeneratorGetResumeMode, 1, 1) \
|
||||
F(AsyncGeneratorHasCatchHandlerForPC, 1, 1)
|
||||
#define FOR_EACH_INTRINSIC_GENERATOR(F) \
|
||||
F(AsyncFunctionAwaitCaught, 3, 1) \
|
||||
F(AsyncFunctionAwaitUncaught, 3, 1) \
|
||||
F(AsyncGeneratorAwaitCaught, 2, 1) \
|
||||
F(AsyncGeneratorAwaitUncaught, 2, 1) \
|
||||
F(AsyncGeneratorHasCatchHandlerForPC, 1, 1) \
|
||||
F(AsyncGeneratorReject, 2, 1) \
|
||||
F(AsyncGeneratorResolve, 3, 1) \
|
||||
F(AsyncGeneratorYield, 3, 1) \
|
||||
F(CreateJSGeneratorObject, 2, 1) \
|
||||
F(GeneratorClose, 1, 1) \
|
||||
F(GeneratorGetContinuation, 1, 1) \
|
||||
F(GeneratorGetFunction, 1, 1) \
|
||||
F(GeneratorGetInputOrDebugPos, 1, 1) \
|
||||
F(GeneratorGetReceiver, 1, 1) \
|
||||
F(GeneratorGetResumeMode, 1, 1) \
|
||||
F(GeneratorGetSourcePosition, 1, 1)
|
||||
|
||||
#ifdef V8_INTL_SUPPORT
|
||||
#define FOR_EACH_INTRINSIC_INTL(F) \
|
||||
F(CanonicalizeLanguageTag, 1, 1) \
|
||||
F(AvailableLocalesOf, 1, 1) \
|
||||
F(BreakIteratorAdoptText, 2, 1) \
|
||||
F(BreakIteratorBreakType, 1, 1) \
|
||||
F(BreakIteratorCurrent, 1, 1) \
|
||||
F(BreakIteratorFirst, 1, 1) \
|
||||
F(BreakIteratorNext, 1, 1) \
|
||||
F(CanonicalizeLanguageTag, 1, 1) \
|
||||
F(CreateBreakIterator, 3, 1) \
|
||||
F(CreateCollator, 3, 1) \
|
||||
F(CreateDateTimeFormat, 3, 1) \
|
||||
F(CreateNumberFormat, 3, 1) \
|
||||
F(CreatePluralRules, 3, 1) \
|
||||
F(CurrencyDigits, 1, 1) \
|
||||
F(DateCacheVersion, 0, 1) \
|
||||
F(GetDefaultICULocale, 0, 1) \
|
||||
F(InternalCompare, 3, 1) \
|
||||
F(InternalDateFormat, 2, 1) \
|
||||
F(InternalDateFormatToParts, 2, 1) \
|
||||
F(InternalNumberFormat, 2, 1) \
|
||||
F(IsInitializedIntlObject, 1, 1) \
|
||||
F(IsInitializedIntlObjectOfType, 2, 1) \
|
||||
F(MarkAsInitializedIntlObjectOfType, 2, 1) \
|
||||
F(CreateDateTimeFormat, 3, 1) \
|
||||
F(InternalDateFormat, 2, 1) \
|
||||
F(InternalDateFormatToParts, 2, 1) \
|
||||
F(CreateNumberFormat, 3, 1) \
|
||||
F(InternalNumberFormat, 2, 1) \
|
||||
F(CurrencyDigits, 1, 1) \
|
||||
F(CreateCollator, 3, 1) \
|
||||
F(InternalCompare, 3, 1) \
|
||||
F(CreatePluralRules, 3, 1) \
|
||||
F(PluralRulesSelect, 2, 1) \
|
||||
F(CreateBreakIterator, 3, 1) \
|
||||
F(BreakIteratorAdoptText, 2, 1) \
|
||||
F(BreakIteratorFirst, 1, 1) \
|
||||
F(BreakIteratorNext, 1, 1) \
|
||||
F(BreakIteratorCurrent, 1, 1) \
|
||||
F(BreakIteratorBreakType, 1, 1) \
|
||||
F(StringToLowerCaseIntl, 1, 1) \
|
||||
F(StringToUpperCaseIntl, 1, 1) \
|
||||
F(StringLocaleConvertCase, 3, 1) \
|
||||
F(DateCacheVersion, 0, 1)
|
||||
F(StringToLowerCaseIntl, 1, 1) \
|
||||
F(StringToUpperCaseIntl, 1, 1)
|
||||
#else
|
||||
#define FOR_EACH_INTRINSIC_INTL(F)
|
||||
#endif
|
||||
@ -275,12 +275,14 @@ namespace internal {
|
||||
F(AllocateInTargetSpace, 2, 1) \
|
||||
F(AllocateSeqOneByteString, 1, 1) \
|
||||
F(AllocateSeqTwoByteString, 1, 1) \
|
||||
F(AllowDynamicFunction, 1, 1) \
|
||||
F(CheckIsBootstrapping, 0, 1) \
|
||||
F(CreateAsyncFromSyncIterator, 1, 1) \
|
||||
F(CreateListFromArrayLike, 1, 1) \
|
||||
F(CreateTemplateObject, 1, 1) \
|
||||
F(DeserializeLazy, 1, 1) \
|
||||
F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \
|
||||
F(ExportFromRuntime, 1, 1) \
|
||||
F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \
|
||||
F(IncrementUseCounter, 1, 1) \
|
||||
F(IncrementUseCounterConstructorReturnNonUndefinedPrimitive, 0, 1) \
|
||||
F(InstallToContext, 1, 1) \
|
||||
@ -291,9 +293,10 @@ namespace internal {
|
||||
F(NewTypeError, 2, 1) \
|
||||
F(OrdinaryHasInstance, 2, 1) \
|
||||
F(PromoteScheduledException, 0, 1) \
|
||||
F(ReportMessage, 1, 1) \
|
||||
F(ReThrow, 1, 1) \
|
||||
F(RunMicrotasks, 0, 1) \
|
||||
F(RunMicrotaskCallback, 2, 1) \
|
||||
F(RunMicrotasks, 0, 1) \
|
||||
F(StackGuard, 0, 1) \
|
||||
F(Throw, 1, 1) \
|
||||
F(ThrowApplyNonFunction, 1, 1) \
|
||||
@ -303,37 +306,34 @@ namespace internal {
|
||||
F(ThrowInvalidStringLength, 0, 1) \
|
||||
F(ThrowInvalidTypedArrayAlignment, 2, 1) \
|
||||
F(ThrowIteratorResultNotAnObject, 1, 1) \
|
||||
F(ThrowThrowMethodMissing, 0, 1) \
|
||||
F(ThrowSymbolIteratorInvalid, 0, 1) \
|
||||
F(ThrowNotConstructor, 1, 1) \
|
||||
F(ThrowRangeError, -1 /* >= 1 */, 1) \
|
||||
F(ThrowReferenceError, 1, 1) \
|
||||
F(ThrowStackOverflow, 0, 1) \
|
||||
F(ThrowSymbolAsyncIteratorInvalid, 0, 1) \
|
||||
F(ThrowSymbolIteratorInvalid, 0, 1) \
|
||||
F(ThrowThrowMethodMissing, 0, 1) \
|
||||
F(ThrowTypeError, -1 /* >= 1 */, 1) \
|
||||
F(Typeof, 1, 1) \
|
||||
F(UnwindAndFindExceptionHandler, 0, 1) \
|
||||
F(AllowDynamicFunction, 1, 1) \
|
||||
F(CreateTemplateObject, 1, 1) \
|
||||
F(ReportMessage, 1, 1)
|
||||
F(UnwindAndFindExceptionHandler, 0, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_LITERALS(F) \
|
||||
F(CreateRegExpLiteral, 4, 1) \
|
||||
F(CreateArrayLiteral, 4, 1) \
|
||||
F(CreateObjectLiteral, 4, 1) \
|
||||
F(CreateArrayLiteral, 4, 1)
|
||||
F(CreateRegExpLiteral, 4, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_LIVEEDIT(F) \
|
||||
F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \
|
||||
F(LiveEditGatherCompileInfo, 2, 1) \
|
||||
F(LiveEditReplaceScript, 3, 1) \
|
||||
F(LiveEditFunctionSourceUpdated, 2, 1) \
|
||||
F(LiveEditReplaceFunctionCode, 2, 1) \
|
||||
F(LiveEditFixupScript, 2, 1) \
|
||||
F(LiveEditFunctionSetScript, 2, 1) \
|
||||
F(LiveEditReplaceRefToNestedFunction, 3, 1) \
|
||||
F(LiveEditPatchFunctionPositions, 2, 1) \
|
||||
F(LiveEditCheckAndDropActivations, 3, 1) \
|
||||
F(LiveEditCompareStrings, 2, 1) \
|
||||
F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \
|
||||
F(LiveEditFixupScript, 2, 1) \
|
||||
F(LiveEditFunctionSetScript, 2, 1) \
|
||||
F(LiveEditFunctionSourceUpdated, 2, 1) \
|
||||
F(LiveEditGatherCompileInfo, 2, 1) \
|
||||
F(LiveEditPatchFunctionPositions, 2, 1) \
|
||||
F(LiveEditReplaceFunctionCode, 2, 1) \
|
||||
F(LiveEditReplaceRefToNestedFunction, 3, 1) \
|
||||
F(LiveEditReplaceScript, 3, 1) \
|
||||
F(LiveEditRestartFrame, 2, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 0, 1)
|
||||
@ -343,109 +343,109 @@ namespace internal {
|
||||
F(GetImportMetaObject, 0, 1) \
|
||||
F(GetModuleNamespace, 1, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_NUMBERS(F) \
|
||||
F(IsValidSmi, 1, 1) \
|
||||
F(StringToNumber, 1, 1) \
|
||||
F(StringParseInt, 2, 1) \
|
||||
F(StringParseFloat, 1, 1) \
|
||||
F(NumberToStringSkipCache, 1, 1) \
|
||||
F(NumberToSmi, 1, 1) \
|
||||
F(SmiLexicographicCompare, 2, 1) \
|
||||
F(MaxSmi, 0, 1) \
|
||||
F(IsSmi, 1, 1) \
|
||||
F(GetHoleNaNUpper, 0, 1) \
|
||||
F(GetHoleNaNLower, 0, 1)
|
||||
#define FOR_EACH_INTRINSIC_NUMBERS(F) \
|
||||
F(GetHoleNaNLower, 0, 1) \
|
||||
F(GetHoleNaNUpper, 0, 1) \
|
||||
F(IsSmi, 1, 1) \
|
||||
F(IsValidSmi, 1, 1) \
|
||||
F(MaxSmi, 0, 1) \
|
||||
F(NumberToSmi, 1, 1) \
|
||||
F(NumberToStringSkipCache, 1, 1) \
|
||||
F(SmiLexicographicCompare, 2, 1) \
|
||||
F(StringParseFloat, 1, 1) \
|
||||
F(StringParseInt, 2, 1) \
|
||||
F(StringToNumber, 1, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_OBJECT(F) \
|
||||
F(AddDictionaryProperty, 3, 1) \
|
||||
F(GetPrototype, 1, 1) \
|
||||
F(ObjectKeys, 1, 1) \
|
||||
F(ObjectHasOwnProperty, 2, 1) \
|
||||
F(ObjectCreate, 2, 1) \
|
||||
F(InternalSetPrototype, 2, 1) \
|
||||
F(OptimizeObjectForAddingMultipleProperties, 2, 1) \
|
||||
F(ObjectValues, 1, 1) \
|
||||
F(ObjectValuesSkipFastPath, 1, 1) \
|
||||
F(ObjectEntries, 1, 1) \
|
||||
F(ObjectEntriesSkipFastPath, 1, 1) \
|
||||
F(GetProperty, 2, 1) \
|
||||
F(KeyedGetProperty, 2, 1) \
|
||||
F(AddNamedProperty, 4, 1) \
|
||||
F(SetProperty, 4, 1) \
|
||||
F(AddElement, 3, 1) \
|
||||
F(DeleteProperty, 3, 1) \
|
||||
F(ShrinkPropertyDictionary, 1, 1) \
|
||||
F(HasProperty, 2, 1) \
|
||||
F(GetOwnPropertyKeys, 2, 1) \
|
||||
F(GetInterceptorInfo, 1, 1) \
|
||||
F(ToFastProperties, 1, 1) \
|
||||
F(AddNamedProperty, 4, 1) \
|
||||
F(AddPrivateField, 3, 1) \
|
||||
F(AllocateHeapNumber, 0, 1) \
|
||||
F(NewObject, 2, 1) \
|
||||
F(CompleteInobjectSlackTrackingForMap, 1, 1) \
|
||||
F(TryMigrateInstance, 1, 1) \
|
||||
F(DefineAccessorPropertyUnchecked, 5, 1) \
|
||||
F(DefineDataPropertyInLiteral, 6, 1) \
|
||||
F(CollectTypeProfile, 3, 1) \
|
||||
F(HasFastPackedElements, 1, 1) \
|
||||
F(ValueOf, 1, 1) \
|
||||
F(IsJSReceiver, 1, 1) \
|
||||
F(ClassOf, 1, 1) \
|
||||
F(GetFunctionName, 1, 1) \
|
||||
F(CollectTypeProfile, 3, 1) \
|
||||
F(CompleteInobjectSlackTrackingForMap, 1, 1) \
|
||||
F(CopyDataProperties, 2, 1) \
|
||||
F(CopyDataPropertiesWithExcludedProperties, -1 /* >= 1 */, 1) \
|
||||
F(CreateDataProperty, 3, 1) \
|
||||
F(CreateIterResultObject, 2, 1) \
|
||||
F(DefineAccessorPropertyUnchecked, 5, 1) \
|
||||
F(DefineDataPropertyInLiteral, 6, 1) \
|
||||
F(DefineGetterPropertyUnchecked, 4, 1) \
|
||||
F(DefineSetterPropertyUnchecked, 4, 1) \
|
||||
F(DefineMethodsInternal, 3, 1) \
|
||||
F(DefineSetterPropertyUnchecked, 4, 1) \
|
||||
F(DeleteProperty, 3, 1) \
|
||||
F(GetFunctionName, 1, 1) \
|
||||
F(GetInterceptorInfo, 1, 1) \
|
||||
F(GetOwnPropertyDescriptor, 2, 1) \
|
||||
F(GetOwnPropertyKeys, 2, 1) \
|
||||
F(GetProperty, 2, 1) \
|
||||
F(GetPrototype, 1, 1) \
|
||||
F(HasFastPackedElements, 1, 1) \
|
||||
F(HasInPrototypeChain, 2, 1) \
|
||||
F(HasProperty, 2, 1) \
|
||||
F(InternalSetPrototype, 2, 1) \
|
||||
F(IsJSReceiver, 1, 1) \
|
||||
F(IterableToListCanBeElided, 1, 1) \
|
||||
F(KeyedGetProperty, 2, 1) \
|
||||
F(NewObject, 2, 1) \
|
||||
F(ObjectCreate, 2, 1) \
|
||||
F(ObjectEntries, 1, 1) \
|
||||
F(ObjectEntriesSkipFastPath, 1, 1) \
|
||||
F(ObjectHasOwnProperty, 2, 1) \
|
||||
F(ObjectKeys, 1, 1) \
|
||||
F(ObjectValues, 1, 1) \
|
||||
F(ObjectValuesSkipFastPath, 1, 1) \
|
||||
F(OptimizeObjectForAddingMultipleProperties, 2, 1) \
|
||||
F(SameValue, 2, 1) \
|
||||
F(SameValueZero, 2, 1) \
|
||||
F(SetProperty, 4, 1) \
|
||||
F(ShrinkPropertyDictionary, 1, 1) \
|
||||
F(ToFastProperties, 1, 1) \
|
||||
F(ToInteger, 1, 1) \
|
||||
F(ToLength, 1, 1) \
|
||||
F(ToName, 1, 1) \
|
||||
F(ToNumber, 1, 1) \
|
||||
F(ToNumeric, 1, 1) \
|
||||
F(ToObject, 1, 1) \
|
||||
F(ToPrimitive, 1, 1) \
|
||||
F(ToPrimitive_Number, 1, 1) \
|
||||
F(ToNumber, 1, 1) \
|
||||
F(ToNumeric, 1, 1) \
|
||||
F(ToInteger, 1, 1) \
|
||||
F(ToLength, 1, 1) \
|
||||
F(ToString, 1, 1) \
|
||||
F(ToName, 1, 1) \
|
||||
F(SameValue, 2, 1) \
|
||||
F(SameValueZero, 2, 1) \
|
||||
F(HasInPrototypeChain, 2, 1) \
|
||||
F(CreateIterResultObject, 2, 1) \
|
||||
F(CreateDataProperty, 3, 1) \
|
||||
F(AddPrivateField, 3, 1) \
|
||||
F(IterableToListCanBeElided, 1, 1) \
|
||||
F(GetOwnPropertyDescriptor, 2, 1)
|
||||
F(TryMigrateInstance, 1, 1) \
|
||||
F(ValueOf, 1, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_OPERATORS(F) \
|
||||
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(LessThan, 2, 1) \
|
||||
F(GreaterThan, 2, 1) \
|
||||
F(LessThanOrEqual, 2, 1) \
|
||||
F(GreaterThanOrEqual, 2, 1)
|
||||
F(StrictNotEqual, 2, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_PROMISE(F) \
|
||||
F(EnqueueMicrotask, 1, 1) \
|
||||
F(PromiseHookInit, 2, 1) \
|
||||
F(PromiseHookBefore, 1, 1) \
|
||||
F(PromiseHookAfter, 1, 1) \
|
||||
F(PromiseHookBefore, 1, 1) \
|
||||
F(PromiseHookInit, 2, 1) \
|
||||
F(PromiseMarkAsHandled, 1, 1) \
|
||||
F(PromiseRejectEventFromStack, 2, 1) \
|
||||
F(PromiseRevokeReject, 1, 1) \
|
||||
F(PromiseResult, 1, 1) \
|
||||
F(PromiseRevokeReject, 1, 1) \
|
||||
F(PromiseStatus, 1, 1) \
|
||||
F(RejectPromise, 3, 1) \
|
||||
F(ResolvePromise, 2, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_PROXY(F) \
|
||||
F(IsJSProxy, 1, 1) \
|
||||
F(JSProxyGetTarget, 1, 1) \
|
||||
F(JSProxyGetHandler, 1, 1) \
|
||||
F(GetPropertyWithReceiver, 2, 1) \
|
||||
F(CheckProxyHasTrap, 2, 1) \
|
||||
F(SetPropertyWithReceiver, 5, 1) \
|
||||
F(CheckProxyGetSetTrapResult, 2, 1)
|
||||
#define FOR_EACH_INTRINSIC_PROXY(F) \
|
||||
F(CheckProxyGetSetTrapResult, 2, 1) \
|
||||
F(CheckProxyHasTrap, 2, 1) \
|
||||
F(GetPropertyWithReceiver, 2, 1) \
|
||||
F(IsJSProxy, 1, 1) \
|
||||
F(JSProxyGetHandler, 1, 1) \
|
||||
F(JSProxyGetTarget, 1, 1) \
|
||||
F(SetPropertyWithReceiver, 5, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_REGEXP(F) \
|
||||
F(IsRegExp, 1, 1) \
|
||||
@ -459,60 +459,60 @@ namespace internal {
|
||||
F(StringSplit, 3, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_SCOPES(F) \
|
||||
F(ThrowConstAssignError, 0, 1) \
|
||||
F(DeclareGlobals, 3, 1) \
|
||||
F(DeclareGlobalsForInterpreter, 3, 1) \
|
||||
F(DeclareEvalFunction, 2, 1) \
|
||||
F(DeclareEvalVar, 1, 1) \
|
||||
F(NewSloppyArguments_Generic, 1, 1) \
|
||||
F(NewStrictArguments, 1, 1) \
|
||||
F(NewRestParameter, 1, 1) \
|
||||
F(NewSloppyArguments, 3, 1) \
|
||||
F(NewArgumentsElements, 3, 1) \
|
||||
F(NewClosure, 2, 1) \
|
||||
F(NewClosure_Tenured, 2, 1) \
|
||||
F(NewScriptContext, 2, 1) \
|
||||
F(NewFunctionContext, 2, 1) \
|
||||
F(PushModuleContext, 3, 1) \
|
||||
F(PushWithContext, 3, 1) \
|
||||
F(PushCatchContext, 4, 1) \
|
||||
F(PushBlockContext, 2, 1) \
|
||||
F(DeclareGlobals, 3, 1) \
|
||||
F(DeclareGlobalsForInterpreter, 3, 1) \
|
||||
F(DeleteLookupSlot, 1, 1) \
|
||||
F(LoadLookupSlot, 1, 1) \
|
||||
F(LoadLookupSlotInsideTypeof, 1, 1) \
|
||||
F(NewArgumentsElements, 3, 1) \
|
||||
F(NewClosure, 2, 1) \
|
||||
F(NewClosure_Tenured, 2, 1) \
|
||||
F(NewFunctionContext, 2, 1) \
|
||||
F(NewRestParameter, 1, 1) \
|
||||
F(NewScriptContext, 2, 1) \
|
||||
F(NewSloppyArguments, 3, 1) \
|
||||
F(NewSloppyArguments_Generic, 1, 1) \
|
||||
F(NewStrictArguments, 1, 1) \
|
||||
F(PushBlockContext, 2, 1) \
|
||||
F(PushCatchContext, 4, 1) \
|
||||
F(PushModuleContext, 3, 1) \
|
||||
F(PushWithContext, 3, 1) \
|
||||
F(StoreLookupSlot_Sloppy, 2, 1) \
|
||||
F(StoreLookupSlot_SloppyHoisting, 2, 1) \
|
||||
F(StoreLookupSlot_Strict, 2, 1)
|
||||
F(StoreLookupSlot_Strict, 2, 1) \
|
||||
F(ThrowConstAssignError, 0, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_STRINGS(F) \
|
||||
F(FlattenString, 1, 1) \
|
||||
F(GetSubstitution, 5, 1) \
|
||||
F(StringReplaceOneCharWithString, 3, 1) \
|
||||
F(InternalizeString, 1, 1) \
|
||||
F(SparseJoinWithSeparator, 3, 1) \
|
||||
F(StringAdd, 2, 1) \
|
||||
F(StringBuilderConcat, 3, 1) \
|
||||
F(StringBuilderJoin, 3, 1) \
|
||||
F(StringCharCodeAt, 2, 1) \
|
||||
F(StringCharFromCode, 1, 1) \
|
||||
F(StringEqual, 2, 1) \
|
||||
F(StringGreaterThan, 2, 1) \
|
||||
F(StringGreaterThanOrEqual, 2, 1) \
|
||||
F(StringIncludes, 3, 1) \
|
||||
F(StringTrim, 2, 1) \
|
||||
F(StringIndexOf, 3, 1) \
|
||||
F(StringIndexOfUnchecked, 3, 1) \
|
||||
F(StringLastIndexOf, 2, 1) \
|
||||
F(StringSubstring, 3, 1) \
|
||||
F(StringAdd, 2, 1) \
|
||||
F(InternalizeString, 1, 1) \
|
||||
F(StringCharCodeAt, 2, 1) \
|
||||
F(StringBuilderConcat, 3, 1) \
|
||||
F(StringBuilderJoin, 3, 1) \
|
||||
F(SparseJoinWithSeparator, 3, 1) \
|
||||
F(StringToArray, 2, 1) \
|
||||
F(StringLessThan, 2, 1) \
|
||||
F(StringLessThanOrEqual, 2, 1) \
|
||||
F(StringGreaterThan, 2, 1) \
|
||||
F(StringGreaterThanOrEqual, 2, 1) \
|
||||
F(StringEqual, 2, 1) \
|
||||
F(StringMaxLength, 0, 1) \
|
||||
F(StringNotEqual, 2, 1) \
|
||||
F(FlattenString, 1, 1) \
|
||||
F(StringCharFromCode, 1, 1) \
|
||||
F(StringMaxLength, 0, 1)
|
||||
F(StringReplaceOneCharWithString, 3, 1) \
|
||||
F(StringSubstring, 3, 1) \
|
||||
F(StringToArray, 2, 1) \
|
||||
F(StringTrim, 2, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_SYMBOL(F) \
|
||||
F(CreatePrivateSymbol, -1 /* <= 1 */, 1) \
|
||||
F(CreatePrivateFieldSymbol, 0, 1) \
|
||||
F(CreatePrivateSymbol, -1 /* <= 1 */, 1) \
|
||||
F(SymbolDescription, 1, 1) \
|
||||
F(SymbolDescriptiveString, 1, 1) \
|
||||
F(SymbolIsPrivate, 1, 1)
|
||||
@ -556,11 +556,6 @@ namespace internal {
|
||||
F(HasFixedUint8ClampedElements, 1, 1) \
|
||||
F(HasFixedUint8Elements, 1, 1) \
|
||||
F(HasHoleyElements, 1, 1) \
|
||||
F(IsJSError, 1, 1) \
|
||||
F(IsJSGeneratorObject, 1, 1) \
|
||||
F(IsJSMapIterator, 1, 1) \
|
||||
F(IsScriptWrapper, 1, 1) \
|
||||
F(IsJSSetIterator, 1, 1) \
|
||||
F(HasObjectElements, 1, 1) \
|
||||
F(HasSloppyArgumentsElements, 1, 1) \
|
||||
F(HasSmiElements, 1, 1) \
|
||||
@ -570,7 +565,12 @@ namespace internal {
|
||||
F(InNewSpace, 1, 1) \
|
||||
F(IsAsmWasmCode, 1, 1) \
|
||||
F(IsConcurrentRecompilationSupported, 0, 1) \
|
||||
F(IsJSError, 1, 1) \
|
||||
F(IsJSGeneratorObject, 1, 1) \
|
||||
F(IsJSMapIterator, 1, 1) \
|
||||
F(IsJSSetIterator, 1, 1) \
|
||||
F(IsLiftoffFunction, 1, 1) \
|
||||
F(IsScriptWrapper, 1, 1) \
|
||||
F(IsWasmCode, 1, 1) \
|
||||
F(IsWasmTrapHandlerEnabled, 0, 1) \
|
||||
F(NativeScriptsCount, 0, 1) \
|
||||
@ -600,31 +600,31 @@ namespace internal {
|
||||
|
||||
#define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
|
||||
F(ArrayBufferNeuter, 1, 1) \
|
||||
F(TypedArrayCopyElements, 3, 1) \
|
||||
F(ArrayBufferViewWasNeutered, 1, 1) \
|
||||
F(TypedArrayGetLength, 1, 1) \
|
||||
F(IsTypedArray, 1, 1) \
|
||||
F(TypedArrayCopyElements, 3, 1) \
|
||||
F(TypedArrayGetBuffer, 1, 1) \
|
||||
F(TypedArraySortFast, 1, 1) \
|
||||
F(TypedArrayGetLength, 1, 1) \
|
||||
F(TypedArraySet, 2, 1) \
|
||||
F(IsTypedArray, 1, 1)
|
||||
F(TypedArraySortFast, 1, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_WASM(F) \
|
||||
F(WasmGrowMemory, 1, 1) \
|
||||
F(ThrowWasmError, 1, 1) \
|
||||
F(ThrowWasmStackOverflow, 0, 1) \
|
||||
F(WasmThrowTypeError, 0, 1) \
|
||||
F(WasmThrowCreate, 2, 1) \
|
||||
F(WasmThrow, 0, 1) \
|
||||
F(WasmGetExceptionRuntimeId, 0, 1) \
|
||||
F(WasmExceptionSetElement, 2, 1) \
|
||||
F(WasmCompileLazy, 0, 1) \
|
||||
F(WasmExceptionGetElement, 1, 1) \
|
||||
F(WasmExceptionSetElement, 2, 1) \
|
||||
F(WasmGetExceptionRuntimeId, 0, 1) \
|
||||
F(WasmGrowMemory, 1, 1) \
|
||||
F(WasmRunInterpreter, 2, 1) \
|
||||
F(WasmStackGuard, 0, 1) \
|
||||
F(WasmCompileLazy, 0, 1)
|
||||
F(WasmThrow, 0, 1) \
|
||||
F(WasmThrowCreate, 2, 1) \
|
||||
F(WasmThrowTypeError, 0, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \
|
||||
F(LoadLookupSlotForCall, 1, 2) \
|
||||
F(DebugBreakOnBytecode, 1, 2)
|
||||
F(DebugBreakOnBytecode, 1, 2) \
|
||||
F(LoadLookupSlotForCall, 1, 2)
|
||||
|
||||
// Most intrinsics are implemented in the runtime/ directory, but ICs are
|
||||
// implemented in ic.cc for now.
|
||||
@ -638,15 +638,14 @@ namespace internal {
|
||||
F(LoadGlobalIC_Slow, 3, 1) \
|
||||
F(LoadIC_Miss, 4, 1) \
|
||||
F(LoadPropertyWithInterceptor, 5, 1) \
|
||||
F(StoreInArrayLiteralIC_Slow, 5, 1) \
|
||||
F(StoreCallbackProperty, 6, 1) \
|
||||
F(StoreGlobalIC_Miss, 4, 1) \
|
||||
F(StoreGlobalIC_Slow, 5, 1) \
|
||||
F(StoreIC_Miss, 5, 1) \
|
||||
F(StoreInArrayLiteralIC_Slow, 5, 1) \
|
||||
F(StorePropertyWithInterceptor, 5, 1)
|
||||
|
||||
#define FOR_EACH_INTRINSIC_RETURN_OBJECT(F) \
|
||||
FOR_EACH_INTRINSIC_IC(F) \
|
||||
FOR_EACH_INTRINSIC_ARRAY(F) \
|
||||
FOR_EACH_INTRINSIC_ATOMICS(F) \
|
||||
FOR_EACH_INTRINSIC_BIGINT(F) \
|
||||
@ -657,11 +656,12 @@ namespace internal {
|
||||
FOR_EACH_INTRINSIC_DEBUG(F) \
|
||||
FOR_EACH_INTRINSIC_ERROR(F) \
|
||||
FOR_EACH_INTRINSIC_FORIN(F) \
|
||||
FOR_EACH_INTRINSIC_INTERPRETER(F) \
|
||||
FOR_EACH_INTRINSIC_FUNCTION(F) \
|
||||
FOR_EACH_INTRINSIC_GENERATOR(F) \
|
||||
FOR_EACH_INTRINSIC_INTL(F) \
|
||||
FOR_EACH_INTRINSIC_IC(F) \
|
||||
FOR_EACH_INTRINSIC_INTERNAL(F) \
|
||||
FOR_EACH_INTRINSIC_INTERPRETER(F) \
|
||||
FOR_EACH_INTRINSIC_INTL(F) \
|
||||
FOR_EACH_INTRINSIC_LITERALS(F) \
|
||||
FOR_EACH_INTRINSIC_LIVEEDIT(F) \
|
||||
FOR_EACH_INTRINSIC_MATHS(F) \
|
||||
|
Loading…
Reference in New Issue
Block a user