OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_BUILTINS_BUILTINS_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_H_ |
6 #define V8_BUILTINS_BUILTINS_H_ | 6 #define V8_BUILTINS_BUILTINS_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 | 10 |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 TFJ(PromiseGetCapabilitiesExecutor, 2) \ | 660 TFJ(PromiseGetCapabilitiesExecutor, 2) \ |
661 TFJ(NewPromiseCapability, 2) \ | 661 TFJ(NewPromiseCapability, 2) \ |
662 TFJ(PromiseConstructor, 1) \ | 662 TFJ(PromiseConstructor, 1) \ |
663 TFJ(PromiseInternalConstructor, 1) \ | 663 TFJ(PromiseInternalConstructor, 1) \ |
664 TFJ(IsPromise, 1) \ | 664 TFJ(IsPromise, 1) \ |
665 TFJ(PromiseResolveClosure, 1) \ | 665 TFJ(PromiseResolveClosure, 1) \ |
666 TFJ(PromiseRejectClosure, 1) \ | 666 TFJ(PromiseRejectClosure, 1) \ |
667 TFJ(PromiseThen, 2) \ | 667 TFJ(PromiseThen, 2) \ |
668 TFJ(PromiseCatch, 1) \ | 668 TFJ(PromiseCatch, 1) \ |
669 TFJ(ResolvePromise, 2) \ | 669 TFJ(ResolvePromise, 2) \ |
670 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject, 1) \ | 670 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, GenericTagged3, 1) \ |
671 TFJ(PromiseHandle, 5) \ | 671 TFJ(PromiseHandle, 5) \ |
672 TFJ(PromiseResolve, 1) \ | 672 TFJ(PromiseResolve, 1) \ |
673 TFJ(PromiseReject, 1) \ | 673 TFJ(PromiseReject, 1) \ |
674 TFJ(InternalPromiseReject, 3) \ | 674 TFJ(InternalPromiseReject, 3) \ |
675 TFJ(PromiseFinally, 1) \ | 675 TFJ(PromiseFinally, 1) \ |
676 TFJ(PromiseThenFinally, 1) \ | 676 TFJ(PromiseThenFinally, 1) \ |
677 TFJ(PromiseCatchFinally, 1) \ | 677 TFJ(PromiseCatchFinally, 1) \ |
678 TFJ(PromiseValueThunkFinally, 0) \ | 678 TFJ(PromiseValueThunkFinally, 0) \ |
679 TFJ(PromiseThrowerFinally, 0) \ | 679 TFJ(PromiseThrowerFinally, 0) \ |
680 \ | 680 \ |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 TFJ(RegExpPrototypeMatch, 1) \ | 722 TFJ(RegExpPrototypeMatch, 1) \ |
723 TFJ(RegExpPrototypeMultilineGetter, 0) \ | 723 TFJ(RegExpPrototypeMultilineGetter, 0) \ |
724 TFJ(RegExpPrototypeSearch, 1) \ | 724 TFJ(RegExpPrototypeSearch, 1) \ |
725 TFJ(RegExpPrototypeSourceGetter, 0) \ | 725 TFJ(RegExpPrototypeSourceGetter, 0) \ |
726 TFJ(RegExpPrototypeStickyGetter, 0) \ | 726 TFJ(RegExpPrototypeStickyGetter, 0) \ |
727 TFJ(RegExpPrototypeTest, 1) \ | 727 TFJ(RegExpPrototypeTest, 1) \ |
728 CPP(RegExpPrototypeToString) \ | 728 CPP(RegExpPrototypeToString) \ |
729 TFJ(RegExpPrototypeUnicodeGetter, 0) \ | 729 TFJ(RegExpPrototypeUnicodeGetter, 0) \ |
730 CPP(RegExpRightContextGetter) \ | 730 CPP(RegExpRightContextGetter) \ |
731 \ | 731 \ |
732 TFS(RegExpReplace, BUILTIN, kNoExtraICState, RegExpReplace, 1) \ | 732 TFS(RegExpReplace, BUILTIN, kNoExtraICState, GenericTagged3, 1) \ |
733 TFJ(RegExpPrototypeReplace, 2) \ | 733 TFJ(RegExpPrototypeReplace, 2) \ |
734 \ | 734 \ |
735 TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit, 1) \ | 735 TFS(RegExpSplit, BUILTIN, kNoExtraICState, GenericTagged3, 1) \ |
736 TFJ(RegExpPrototypeSplit, 2) \ | 736 TFJ(RegExpPrototypeSplit, 2) \ |
737 \ | 737 \ |
738 /* SharedArrayBuffer */ \ | 738 /* SharedArrayBuffer */ \ |
739 CPP(SharedArrayBufferPrototypeGetByteLength) \ | 739 CPP(SharedArrayBufferPrototypeGetByteLength) \ |
740 TFJ(AtomicsLoad, 2) \ | 740 TFJ(AtomicsLoad, 2) \ |
741 TFJ(AtomicsStore, 3) \ | 741 TFJ(AtomicsStore, 3) \ |
742 TFJ(AtomicsExchange, 3) \ | 742 TFJ(AtomicsExchange, 3) \ |
743 TFJ(AtomicsCompareExchange, 4) \ | 743 TFJ(AtomicsCompareExchange, 4) \ |
744 CPP(AtomicsAdd) \ | 744 CPP(AtomicsAdd) \ |
745 CPP(AtomicsSub) \ | 745 CPP(AtomicsSub) \ |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1037 | 1037 |
1038 friend class Isolate; | 1038 friend class Isolate; |
1039 | 1039 |
1040 DISALLOW_COPY_AND_ASSIGN(Builtins); | 1040 DISALLOW_COPY_AND_ASSIGN(Builtins); |
1041 }; | 1041 }; |
1042 | 1042 |
1043 } // namespace internal | 1043 } // namespace internal |
1044 } // namespace v8 | 1044 } // namespace v8 |
1045 | 1045 |
1046 #endif // V8_BUILTINS_BUILTINS_H_ | 1046 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |