diff options
Diffstat (limited to 'deps/v8/src/runtime/runtime.h')
-rw-r--r-- | deps/v8/src/runtime/runtime.h | 66 |
1 files changed, 32 insertions, 34 deletions
diff --git a/deps/v8/src/runtime/runtime.h b/deps/v8/src/runtime/runtime.h index c9ee6d88ac1..8f8903d9656 100644 --- a/deps/v8/src/runtime/runtime.h +++ b/deps/v8/src/runtime/runtime.h @@ -222,7 +222,7 @@ namespace internal { F(NewError, 2, 1) \ F(NewReferenceError, 2, 1) \ F(NewSyntaxError, 2, 1) \ - F(NewTypeError, 2, 1) \ + F(NewTypeError, -1 /* [1, 4] */, 1) \ F(OrdinaryHasInstance, 2, 1) \ F(PromoteScheduledException, 0, 1) \ F(ReportMessageFromMicrotask, 1, 1) \ @@ -239,7 +239,7 @@ namespace internal { F(ThrowInvalidStringLength, 0, 1) \ F(ThrowInvalidTypedArrayAlignment, 2, 1) \ F(ThrowIteratorError, 1, 1) \ - F(ThrowSpreadArgIsNullOrUndefined, 1, 1) \ + F(ThrowSpreadArgError, 2, 1) \ F(ThrowIteratorResultNotAnObject, 1, 1) \ F(ThrowNotConstructor, 1, 1) \ F(ThrowPatternAssignmentNonCoercible, 1, 1) \ @@ -274,7 +274,7 @@ namespace internal { I(IsSmi, 1, 1) \ F(IsValidSmi, 1, 1) \ F(MaxSmi, 0, 1) \ - F(NumberToString, 1, 1) \ + F(NumberToStringSlow, 1, 1) \ F(StringParseFloat, 1, 1) \ F(StringParseInt, 2, 1) \ F(StringToNumber, 1, 1) \ @@ -285,7 +285,6 @@ namespace internal { F(AddPrivateField, 3, 1) \ F(AddPrivateBrand, 3, 1) \ F(AllocateHeapNumber, 0, 1) \ - F(ClassOf, 1, 1) \ F(CollectTypeProfile, 3, 1) \ F(CompleteInobjectSlackTrackingForMap, 1, 1) \ I(CopyDataProperties, 2, 1) \ @@ -367,7 +366,9 @@ namespace internal { F(RejectPromise, 3, 1) \ F(ResolvePromise, 2, 1) \ F(PromiseRejectAfterResolved, 2, 1) \ - F(PromiseResolveAfterResolved, 2, 1) + F(PromiseResolveAfterResolved, 2, 1) \ + F(ConstructAggregateErrorHelper, 3, 1) \ + F(ConstructInternalAggregateErrorHelper, -1 /* <= 4*/, 1) #define FOR_EACH_INTRINSIC_PROXY(F, I) \ F(CheckProxyGetSetTrapResult, 2, 1) \ @@ -403,8 +404,7 @@ namespace internal { F(NewClosure_Tenured, 2, 1) \ F(NewFunctionContext, 1, 1) \ F(NewRestParameter, 1, 1) \ - F(NewSloppyArguments, 3, 1) \ - F(NewSloppyArguments_Generic, 1, 1) \ + F(NewSloppyArguments, 1, 1) \ F(NewStrictArguments, 1, 1) \ F(PushBlockContext, 1, 1) \ F(PushCatchContext, 2, 1) \ @@ -520,9 +520,9 @@ namespace internal { F(NewRegExpWithBacktrackLimit, 3, 1) \ F(PrepareFunctionForOptimization, -1, 1) \ F(PrintWithNameForAssert, 2, 1) \ - F(RedirectToWasmInterpreter, 2, 1) \ F(RunningInSimulator, 0, 1) \ F(RuntimeEvaluateREPL, 1, 1) \ + F(SerializeDeserializeNow, 0, 1) \ F(SerializeWasmModule, 1, 1) \ F(SetAllocationTimeout, -1 /* 2 || 3 */, 1) \ F(SetForceSlowPath, 1, 1) \ @@ -538,7 +538,6 @@ namespace internal { F(TurbofanStaticAssert, 1, 1) \ F(UnblockConcurrentRecompilation, 0, 1) \ F(WasmGetNumberOfInstances, 1, 1) \ - F(WasmNumInterpretedCalls, 1, 1) \ F(WasmNumCodeSpaces, 1, 1) \ F(WasmTierDownModule, 1, 1) \ F(WasmTierUpFunction, 2, 1) \ @@ -553,32 +552,30 @@ namespace internal { F(TypedArraySet, 2, 1) \ F(TypedArraySortFast, 1, 1) -#define FOR_EACH_INTRINSIC_WASM(F, I) \ - F(ThrowWasmError, 1, 1) \ - F(ThrowWasmStackOverflow, 0, 1) \ - F(WasmI32AtomicWait, 4, 1) \ - F(WasmI64AtomicWait, 5, 1) \ - F(WasmAtomicNotify, 3, 1) \ - F(WasmExceptionGetValues, 1, 1) \ - F(WasmExceptionGetTag, 1, 1) \ - F(WasmMemoryGrow, 2, 1) \ - F(WasmRunInterpreter, 2, 1) \ - F(WasmStackGuard, 0, 1) \ - F(WasmThrowCreate, 2, 1) \ - F(WasmThrowTypeError, 0, 1) \ - F(WasmRefFunc, 1, 1) \ - F(WasmFunctionTableGet, 3, 1) \ - F(WasmFunctionTableSet, 4, 1) \ - F(WasmTableInit, 6, 1) \ - F(WasmTableCopy, 6, 1) \ - F(WasmTableGrow, 3, 1) \ - F(WasmTableFill, 4, 1) \ - F(WasmIsValidFuncRefValue, 1, 1) \ - F(WasmCompileLazy, 2, 1) \ - F(WasmNewMultiReturnFixedArray, 1, 1) \ - F(WasmNewMultiReturnJSArray, 1, 1) \ +#define FOR_EACH_INTRINSIC_WASM(F, I) \ + F(ThrowWasmError, 1, 1) \ + F(ThrowWasmStackOverflow, 0, 1) \ + F(WasmI32AtomicWait, 4, 1) \ + F(WasmI64AtomicWait, 5, 1) \ + F(WasmAtomicNotify, 3, 1) \ + F(WasmMemoryGrow, 2, 1) \ + F(WasmStackGuard, 0, 1) \ + F(WasmThrowCreate, 2, 1) \ + F(WasmThrowTypeError, 0, 1) \ + F(WasmRefFunc, 1, 1) \ + F(WasmFunctionTableGet, 3, 1) \ + F(WasmFunctionTableSet, 4, 1) \ + F(WasmTableInit, 6, 1) \ + F(WasmTableCopy, 6, 1) \ + F(WasmTableGrow, 3, 1) \ + F(WasmTableFill, 4, 1) \ + F(WasmIsValidFuncRefValue, 1, 1) \ + F(WasmCompileLazy, 2, 1) \ F(WasmDebugBreak, 0, 1) +#define FOR_EACH_INTRINSIC_WEAKREF(F, I) \ + F(ShrinkFinalizationRegistryUnregisterTokenMap, 1, 1) + #define FOR_EACH_INTRINSIC_RETURN_PAIR_IMPL(F, I) \ F(DebugBreakOnBytecode, 1, 2) \ F(LoadLookupSlotForCall, 1, 2) @@ -637,7 +634,8 @@ namespace internal { FOR_EACH_INTRINSIC_SYMBOL(F, I) \ FOR_EACH_INTRINSIC_TEST(F, I) \ FOR_EACH_INTRINSIC_TYPEDARRAY(F, I) \ - FOR_EACH_INTRINSIC_WASM(F, I) + FOR_EACH_INTRINSIC_WASM(F, I) \ + FOR_EACH_INTRINSIC_WEAKREF(F, I) // Defines the list of all intrinsics, coming in 2 flavors, either returning an // object or a pair. |