| 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 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 TFJ(StringPrototypeSplit, 2) \ | 764 TFJ(StringPrototypeSplit, 2) \ |
| 765 /* ES6 section B.2.3.1 String.prototype.substr ( start, length ) */ \ | 765 /* ES6 section B.2.3.1 String.prototype.substr ( start, length ) */ \ |
| 766 TFJ(StringPrototypeSubstr, 2) \ | 766 TFJ(StringPrototypeSubstr, 2) \ |
| 767 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ | 767 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ |
| 768 TFJ(StringPrototypeSubstring, 2) \ | 768 TFJ(StringPrototypeSubstring, 2) \ |
| 769 /* ES6 section 21.1.3.20 */ \ | 769 /* ES6 section 21.1.3.20 */ \ |
| 770 /* String.prototype.startsWith ( searchString [ , position ] ) */ \ | 770 /* String.prototype.startsWith ( searchString [ , position ] ) */ \ |
| 771 CPP(StringPrototypeStartsWith) \ | 771 CPP(StringPrototypeStartsWith) \ |
| 772 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ | 772 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ |
| 773 TFJ(StringPrototypeToString, 0) \ | 773 TFJ(StringPrototypeToString, 0) \ |
| 774 /* (obsolete) Unibrow string functions */ \ |
| 775 CPP(StringPrototypeToLocaleLowerCase) \ |
| 776 CPP(StringPrototypeToLocaleUpperCase) \ |
| 777 CPP(StringPrototypeToLowerCase) \ |
| 778 CPP(StringPrototypeToUpperCase) \ |
| 774 /* ES #sec-string.prototype.tolocalelowercase */ \ | 779 /* ES #sec-string.prototype.tolocalelowercase */ \ |
| 775 CPP(StringPrototypeToLocaleLowerCase) \ | 780 /* CPP(StringPrototypeToLocaleLowerCaseI18N) */ \ |
| 776 /* ES #sec-string.prototype.tolocaleuppercase */ \ | 781 /* ES #sec-string.prototype.tolocaleuppercase */ \ |
| 777 CPP(StringPrototypeToLocaleUpperCase) \ | 782 /* CPP(StringPrototypeToLocaleUpperCaseI18N) */ \ |
| 778 /* ES #sec-string.prototype.tolowercase */ \ | 783 /* ES #sec-string.prototype.tolowercase */ \ |
| 779 CPP(StringPrototypeToLowerCase) \ | 784 CPP(StringPrototypeToLowerCaseI18N) \ |
| 780 /* ES #sec-string.prototype.touppercase */ \ | 785 /* ES #sec-string.prototype.touppercase */ \ |
| 781 CPP(StringPrototypeToUpperCase) \ | 786 CPP(StringPrototypeToUpperCaseI18N) \ |
| 782 CPP(StringPrototypeTrim) \ | 787 CPP(StringPrototypeTrim) \ |
| 783 CPP(StringPrototypeTrimLeft) \ | 788 CPP(StringPrototypeTrimLeft) \ |
| 784 CPP(StringPrototypeTrimRight) \ | 789 CPP(StringPrototypeTrimRight) \ |
| 785 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ | 790 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ |
| 786 TFJ(StringPrototypeValueOf, 0) \ | 791 TFJ(StringPrototypeValueOf, 0) \ |
| 787 /* ES6 #sec-string.prototype-@@iterator */ \ | 792 /* ES6 #sec-string.prototype-@@iterator */ \ |
| 788 TFJ(StringPrototypeIterator, 0) \ | 793 TFJ(StringPrototypeIterator, 0) \ |
| 789 \ | 794 \ |
| 790 /* StringIterator */ \ | 795 /* StringIterator */ \ |
| 791 TFJ(StringIteratorPrototypeNext, 0) \ | 796 TFJ(StringIteratorPrototypeNext, 0) \ |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 | 999 |
| 995 friend class Isolate; | 1000 friend class Isolate; |
| 996 | 1001 |
| 997 DISALLOW_COPY_AND_ASSIGN(Builtins); | 1002 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 998 }; | 1003 }; |
| 999 | 1004 |
| 1000 } // namespace internal | 1005 } // namespace internal |
| 1001 } // namespace v8 | 1006 } // namespace v8 |
| 1002 | 1007 |
| 1003 #endif // V8_BUILTINS_BUILTINS_H_ | 1008 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |