diff options
Diffstat (limited to 'deps/v8/src/builtins/builtins-definitions.h')
-rw-r--r-- | deps/v8/src/builtins/builtins-definitions.h | 62 |
1 files changed, 33 insertions, 29 deletions
diff --git a/deps/v8/src/builtins/builtins-definitions.h b/deps/v8/src/builtins/builtins-definitions.h index 859b5cee9a..3e746487bc 100644 --- a/deps/v8/src/builtins/builtins-definitions.h +++ b/deps/v8/src/builtins/builtins-definitions.h @@ -160,11 +160,12 @@ namespace internal { \ /* String helpers */ \ TFC(StringFromCodePointAt, StringAtAsString) \ - TFC(StringEqual, Compare) \ - TFC(StringGreaterThan, Compare) \ - TFC(StringGreaterThanOrEqual, Compare) \ - TFC(StringLessThan, Compare) \ - TFC(StringLessThanOrEqual, Compare) \ + TFC(StringEqual, StringEqual) \ + TFC(StringGreaterThan, CompareNoContext) \ + TFC(StringGreaterThanOrEqual, CompareNoContext) \ + TFC(StringLessThan, CompareNoContext) \ + TFC(StringLessThanOrEqual, CompareNoContext) \ + TFC(StringCompare, CompareNoContext) \ TFC(StringSubstring, StringSubstring) \ \ /* OrderedHashTable helpers */ \ @@ -198,7 +199,6 @@ namespace internal { \ /* Maglev Compiler */ \ ASM(MaglevOnStackReplacement, OnStackReplacement) \ - ASM(MaglevOutOfLinePrologue, NoContext) \ \ /* Code life-cycle */ \ TFC(CompileLazy, JSTrampoline) \ @@ -257,10 +257,12 @@ namespace internal { \ /* Type conversions */ \ TFC(ToNumber, TypeConversion) \ + TFC(ToBigInt, TypeConversion) \ TFC(ToNumber_Baseline, TypeConversion_Baseline) \ TFC(ToNumeric_Baseline, TypeConversion_Baseline) \ TFC(PlainPrimitiveToNumber, TypeConversionNoContext) \ TFC(ToNumberConvertBigInt, TypeConversion) \ + TFC(ToBigIntConvertNumber, TypeConversion) \ TFC(Typeof, Typeof) \ TFC(BigIntToI64, BigIntToI64) \ TFC(BigIntToI32Pair, BigIntToI32Pair) \ @@ -269,6 +271,9 @@ namespace internal { \ /* Type conversions continuations */ \ TFC(ToBooleanLazyDeoptContinuation, SingleParameterOnStack) \ + TFC(MathCeilContinuation, SingleParameterOnStack) \ + TFC(MathFloorContinuation, SingleParameterOnStack) \ + TFC(MathRoundContinuation, SingleParameterOnStack) \ \ /* Handlers */ \ TFH(KeyedLoadIC_PolymorphicName, LoadWithVector) \ @@ -397,6 +402,7 @@ namespace internal { CPP(ArrayShift) \ /* ES6 #sec-array.prototype.unshift */ \ CPP(ArrayUnshift) \ + CPP(ArrayFromAsync) \ /* Support for Array.from and other array-copying idioms */ \ TFS(CloneFastJSArray, kSource) \ TFS(CloneFastJSArrayFillingHoles, kSource) \ @@ -425,8 +431,9 @@ namespace internal { CPP(ArrayBufferPrototypeSlice) \ /* https://tc39.es/proposal-resizablearraybuffer/ */ \ CPP(ArrayBufferPrototypeResize) \ - /* proposal-resizablearraybuffer/#sec-arraybuffer.prototype.transfer */ \ + /* https://tc39.es/proposal-arraybuffer-transfer/ */ \ CPP(ArrayBufferPrototypeTransfer) \ + CPP(ArrayBufferPrototypeTransferToFixedLength) \ \ /* AsyncFunction */ \ TFS(AsyncFunctionEnter, kClosure, kReceiver) \ @@ -623,10 +630,6 @@ namespace internal { CPP(JsonRawJson) \ CPP(JsonIsRawJson) \ \ - /* Web snapshots */ \ - CPP(WebSnapshotSerialize) \ - CPP(WebSnapshotDeserialize) \ - \ /* ICs */ \ TFH(LoadIC, LoadWithVector) \ TFH(LoadIC_Megamorphic, LoadWithVector) \ @@ -638,9 +641,11 @@ namespace internal { TFH(LoadSuperICBaseline, LoadWithReceiverBaseline) \ TFH(KeyedLoadIC, KeyedLoadWithVector) \ TFH(KeyedLoadIC_Megamorphic, KeyedLoadWithVector) \ + TFH(KeyedLoadIC_MegamorphicStringKey, KeyedLoadWithVector) \ TFH(KeyedLoadICTrampoline, KeyedLoad) \ TFH(KeyedLoadICBaseline, KeyedLoadBaseline) \ TFH(KeyedLoadICTrampoline_Megamorphic, KeyedLoad) \ + TFH(KeyedLoadICTrampoline_MegamorphicStringKey, KeyedLoad) \ TFH(StoreGlobalIC, StoreGlobalWithVector) \ TFH(StoreGlobalICTrampoline, StoreGlobal) \ TFH(StoreGlobalICBaseline, StoreGlobalBaseline) \ @@ -653,9 +658,9 @@ namespace internal { TFH(KeyedStoreIC, StoreWithVector) \ TFH(KeyedStoreICTrampoline, Store) \ TFH(KeyedStoreICBaseline, StoreBaseline) \ - TFH(DefineKeyedOwnIC, StoreWithVector) \ - TFH(DefineKeyedOwnICTrampoline, Store) \ - TFH(DefineKeyedOwnICBaseline, StoreBaseline) \ + TFH(DefineKeyedOwnIC, DefineKeyedOwnWithVector) \ + TFH(DefineKeyedOwnICTrampoline, DefineKeyedOwn) \ + TFH(DefineKeyedOwnICBaseline, DefineKeyedOwnBaseline) \ TFH(StoreInArrayLiteralIC, StoreWithVector) \ TFH(StoreInArrayLiteralICBaseline, StoreBaseline) \ TFH(LookupContextTrampoline, LookupTrampoline) \ @@ -668,8 +673,10 @@ namespace internal { TFH(LoadGlobalICBaseline, LoadGlobalBaseline) \ TFH(LoadGlobalICInsideTypeofTrampoline, LoadGlobal) \ TFH(LoadGlobalICInsideTypeofBaseline, LoadGlobalBaseline) \ + TFH(LookupGlobalIC, LookupWithVector) \ TFH(LookupGlobalICTrampoline, LookupTrampoline) \ TFH(LookupGlobalICBaseline, LookupBaseline) \ + TFH(LookupGlobalICInsideTypeof, LookupWithVector) \ TFH(LookupGlobalICInsideTypeofTrampoline, LookupTrampoline) \ TFH(LookupGlobalICInsideTypeofBaseline, LookupBaseline) \ TFH(CloneObjectIC, CloneObjectWithVector) \ @@ -718,8 +725,8 @@ namespace internal { CPP(NumberPrototypeToFixed) \ CPP(NumberPrototypeToLocaleString) \ CPP(NumberPrototypeToPrecision) \ - TFC(SameValue, Compare) \ - TFC(SameValueNumbersOnly, Compare) \ + TFC(SameValue, CompareNoContext) \ + TFC(SameValueNumbersOnly, CompareNoContext) \ \ /* Binary ops with feedback collection */ \ TFC(Add_Baseline, BinaryOp_Baseline) \ @@ -834,7 +841,6 @@ namespace internal { ASM(ReflectApply, JSTrampoline) \ ASM(ReflectConstruct, JSTrampoline) \ CPP(ReflectDefineProperty) \ - CPP(ReflectGetOwnPropertyDescriptor) \ CPP(ReflectOwnKeys) \ CPP(ReflectSet) \ \ @@ -895,7 +901,8 @@ namespace internal { kSpecifier, kExportName) \ TFJ(ShadowRealmImportValueFulfilled, kJSArgcReceiverSlots + 1, kReceiver, \ kExports) \ - TFJ(ShadowRealmImportValueRejected, kDontAdaptArgumentsSentinel) \ + TFJ(ShadowRealmImportValueRejected, kJSArgcReceiverSlots + 1, kReceiver, \ + kException) \ \ /* SharedArrayBuffer */ \ CPP(SharedArrayBufferPrototypeGetByteLength) \ @@ -1071,17 +1078,12 @@ namespace internal { TFJ(AsyncIteratorValueUnwrap, kJSArgcReceiverSlots + 1, kReceiver, kValue) \ \ /* CEntry */ \ - ASM(CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit, CEntryDummy) \ - ASM(CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit, \ - CEntry1ArgvOnStack) \ - ASM(CEntry_Return1_DontSaveFPRegs_ArgvInRegister_NoBuiltinExit, CEntryDummy) \ - ASM(CEntry_Return1_SaveFPRegs_ArgvOnStack_NoBuiltinExit, CEntryDummy) \ - ASM(CEntry_Return1_SaveFPRegs_ArgvOnStack_BuiltinExit, CEntryDummy) \ - ASM(CEntry_Return2_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit, CEntryDummy) \ - ASM(CEntry_Return2_DontSaveFPRegs_ArgvOnStack_BuiltinExit, CEntryDummy) \ - ASM(CEntry_Return2_DontSaveFPRegs_ArgvInRegister_NoBuiltinExit, CEntryDummy) \ - ASM(CEntry_Return2_SaveFPRegs_ArgvOnStack_NoBuiltinExit, CEntryDummy) \ - ASM(CEntry_Return2_SaveFPRegs_ArgvOnStack_BuiltinExit, CEntryDummy) \ + ASM(CEntry_Return1_ArgvInRegister_NoBuiltinExit, CEntryDummy) \ + ASM(CEntry_Return1_ArgvOnStack_BuiltinExit, CEntry1ArgvOnStack) \ + ASM(CEntry_Return1_ArgvOnStack_NoBuiltinExit, CEntryDummy) \ + ASM(CEntry_Return2_ArgvInRegister_NoBuiltinExit, CEntryDummy) \ + ASM(CEntry_Return2_ArgvOnStack_BuiltinExit, CEntryDummy) \ + ASM(CEntry_Return2_ArgvOnStack_NoBuiltinExit, CEntryDummy) \ ASM(DirectCEntry, CEntryDummy) \ \ /* String helpers */ \ @@ -1094,10 +1096,12 @@ namespace internal { TFS(GetPropertyWithReceiver, kObject, kKey, kReceiver, kOnNonExistent) \ TFS(SetProperty, kReceiver, kKey, kValue) \ TFS(CreateDataProperty, kReceiver, kKey, kValue) \ + TFS(GetOwnPropertyDescriptor, kReceiver, kKey) \ ASM(MemCopyUint8Uint8, CCall) \ ASM(MemMove, CCall) \ TFC(FindNonDefaultConstructorOrConstruct, \ FindNonDefaultConstructorOrConstruct) \ + TFS(OrdinaryGetOwnPropertyDescriptor, kReceiver, kKey) \ \ /* Trace */ \ CPP(IsTraceCategoryEnabled) \ |