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 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 CPP(RegExpLastMatchGetter) \ | 700 CPP(RegExpLastMatchGetter) \ |
701 CPP(RegExpLastParenGetter) \ | 701 CPP(RegExpLastParenGetter) \ |
702 CPP(RegExpLeftContextGetter) \ | 702 CPP(RegExpLeftContextGetter) \ |
703 TFJ(RegExpPrototypeCompile, 2) \ | 703 TFJ(RegExpPrototypeCompile, 2) \ |
704 TFJ(RegExpPrototypeExec, 1) \ | 704 TFJ(RegExpPrototypeExec, 1) \ |
705 TFJ(RegExpPrototypeFlagsGetter, 0) \ | 705 TFJ(RegExpPrototypeFlagsGetter, 0) \ |
706 TFJ(RegExpPrototypeGlobalGetter, 0) \ | 706 TFJ(RegExpPrototypeGlobalGetter, 0) \ |
707 TFJ(RegExpPrototypeIgnoreCaseGetter, 0) \ | 707 TFJ(RegExpPrototypeIgnoreCaseGetter, 0) \ |
708 TFJ(RegExpPrototypeMatch, 1) \ | 708 TFJ(RegExpPrototypeMatch, 1) \ |
709 TFJ(RegExpPrototypeMultilineGetter, 0) \ | 709 TFJ(RegExpPrototypeMultilineGetter, 0) \ |
710 TFJ(RegExpPrototypeReplace, 2) \ | |
711 TFJ(RegExpPrototypeSearch, 1) \ | 710 TFJ(RegExpPrototypeSearch, 1) \ |
712 TFJ(RegExpPrototypeSourceGetter, 0) \ | 711 TFJ(RegExpPrototypeSourceGetter, 0) \ |
713 TFJ(RegExpPrototypeSplit, 2) \ | |
714 TFJ(RegExpPrototypeStickyGetter, 0) \ | 712 TFJ(RegExpPrototypeStickyGetter, 0) \ |
715 TFJ(RegExpPrototypeTest, 1) \ | 713 TFJ(RegExpPrototypeTest, 1) \ |
716 CPP(RegExpPrototypeToString) \ | 714 CPP(RegExpPrototypeToString) \ |
717 TFJ(RegExpPrototypeUnicodeGetter, 0) \ | 715 TFJ(RegExpPrototypeUnicodeGetter, 0) \ |
718 CPP(RegExpRightContextGetter) \ | 716 CPP(RegExpRightContextGetter) \ |
719 \ | 717 \ |
| 718 TFS(RegExpReplace, BUILTIN, kNoExtraICState, RegExpReplace) \ |
| 719 TFJ(RegExpPrototypeReplace, 2) \ |
| 720 \ |
| 721 TFS(RegExpSplit, BUILTIN, kNoExtraICState, RegExpSplit) \ |
| 722 TFJ(RegExpPrototypeSplit, 2) \ |
| 723 \ |
720 /* SharedArrayBuffer */ \ | 724 /* SharedArrayBuffer */ \ |
721 CPP(SharedArrayBufferPrototypeGetByteLength) \ | 725 CPP(SharedArrayBufferPrototypeGetByteLength) \ |
722 TFJ(AtomicsLoad, 2) \ | 726 TFJ(AtomicsLoad, 2) \ |
723 TFJ(AtomicsStore, 3) \ | 727 TFJ(AtomicsStore, 3) \ |
724 \ | 728 \ |
725 /* String */ \ | 729 /* String */ \ |
726 ASM(StringConstructor) \ | 730 ASM(StringConstructor) \ |
727 ASM(StringConstructor_ConstructStub) \ | 731 ASM(StringConstructor_ConstructStub) \ |
728 CPP(StringFromCodePoint) \ | 732 CPP(StringFromCodePoint) \ |
729 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 733 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
947 | 951 |
948 friend class Isolate; | 952 friend class Isolate; |
949 | 953 |
950 DISALLOW_COPY_AND_ASSIGN(Builtins); | 954 DISALLOW_COPY_AND_ASSIGN(Builtins); |
951 }; | 955 }; |
952 | 956 |
953 } // namespace internal | 957 } // namespace internal |
954 } // namespace v8 | 958 } // namespace v8 |
955 | 959 |
956 #endif // V8_BUILTINS_BUILTINS_H_ | 960 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |