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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 TFJ(StringPrototypeSplit, 2) \ | 778 TFJ(StringPrototypeSplit, 2) \ |
779 /* ES6 section B.2.3.1 String.prototype.substr ( start, length ) */ \ | 779 /* ES6 section B.2.3.1 String.prototype.substr ( start, length ) */ \ |
780 TFJ(StringPrototypeSubstr, 2) \ | 780 TFJ(StringPrototypeSubstr, 2) \ |
781 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ | 781 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ |
782 TFJ(StringPrototypeSubstring, 2) \ | 782 TFJ(StringPrototypeSubstring, 2) \ |
783 /* ES6 section 21.1.3.20 */ \ | 783 /* ES6 section 21.1.3.20 */ \ |
784 /* String.prototype.startsWith ( searchString [ , position ] ) */ \ | 784 /* String.prototype.startsWith ( searchString [ , position ] ) */ \ |
785 CPP(StringPrototypeStartsWith) \ | 785 CPP(StringPrototypeStartsWith) \ |
786 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ | 786 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ |
787 TFJ(StringPrototypeToString, 0) \ | 787 TFJ(StringPrototypeToString, 0) \ |
| 788 /* (obsolete) Unibrow string functions */ \ |
| 789 CPP(StringPrototypeToLocaleLowerCase) \ |
| 790 CPP(StringPrototypeToLocaleUpperCase) \ |
| 791 CPP(StringPrototypeToLowerCase) \ |
| 792 CPP(StringPrototypeToUpperCase) \ |
788 /* ES #sec-string.prototype.tolocalelowercase */ \ | 793 /* ES #sec-string.prototype.tolocalelowercase */ \ |
789 CPP(StringPrototypeToLocaleLowerCase) \ | 794 /* CPP(StringPrototypeToLocaleLowerCaseI18N) */ \ |
790 /* ES #sec-string.prototype.tolocaleuppercase */ \ | 795 /* ES #sec-string.prototype.tolocaleuppercase */ \ |
791 CPP(StringPrototypeToLocaleUpperCase) \ | 796 /* CPP(StringPrototypeToLocaleUpperCaseI18N) */ \ |
792 /* ES #sec-string.prototype.tolowercase */ \ | 797 /* ES #sec-string.prototype.tolowercase */ \ |
793 CPP(StringPrototypeToLowerCase) \ | 798 CPP(StringPrototypeToLowerCaseI18N) \ |
794 /* ES #sec-string.prototype.touppercase */ \ | 799 /* ES #sec-string.prototype.touppercase */ \ |
795 CPP(StringPrototypeToUpperCase) \ | 800 CPP(StringPrototypeToUpperCaseI18N) \ |
796 CPP(StringPrototypeTrim) \ | 801 CPP(StringPrototypeTrim) \ |
797 CPP(StringPrototypeTrimLeft) \ | 802 CPP(StringPrototypeTrimLeft) \ |
798 CPP(StringPrototypeTrimRight) \ | 803 CPP(StringPrototypeTrimRight) \ |
799 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ | 804 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ |
800 TFJ(StringPrototypeValueOf, 0) \ | 805 TFJ(StringPrototypeValueOf, 0) \ |
801 /* ES6 #sec-string.prototype-@@iterator */ \ | 806 /* ES6 #sec-string.prototype-@@iterator */ \ |
802 TFJ(StringPrototypeIterator, 0) \ | 807 TFJ(StringPrototypeIterator, 0) \ |
803 \ | 808 \ |
804 /* StringIterator */ \ | 809 /* StringIterator */ \ |
805 TFJ(StringIteratorPrototypeNext, 0) \ | 810 TFJ(StringIteratorPrototypeNext, 0) \ |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1025 | 1030 |
1026 friend class Isolate; | 1031 friend class Isolate; |
1027 | 1032 |
1028 DISALLOW_COPY_AND_ASSIGN(Builtins); | 1033 DISALLOW_COPY_AND_ASSIGN(Builtins); |
1029 }; | 1034 }; |
1030 | 1035 |
1031 } // namespace internal | 1036 } // namespace internal |
1032 } // namespace v8 | 1037 } // namespace v8 |
1033 | 1038 |
1034 #endif // V8_BUILTINS_BUILTINS_H_ | 1039 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |