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 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 /* String */ \ | 767 /* String */ \ |
768 ASM(StringConstructor) \ | 768 ASM(StringConstructor) \ |
769 ASM(StringConstructor_ConstructStub) \ | 769 ASM(StringConstructor_ConstructStub) \ |
770 CPP(StringFromCodePoint) \ | 770 CPP(StringFromCodePoint) \ |
771 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ | 771 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
772 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ | 772 TFJ(StringFromCharCode, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
773 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ | 773 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ |
774 TFJ(StringPrototypeCharAt, 1) \ | 774 TFJ(StringPrototypeCharAt, 1) \ |
775 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ | 775 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |
776 TFJ(StringPrototypeCharCodeAt, 1) \ | 776 TFJ(StringPrototypeCharCodeAt, 1) \ |
| 777 /* ES6 #sec-string.prototype.concat */ \ |
| 778 TFJ(StringPrototypeConcat, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
777 /* ES6 section 21.1.3.6 */ \ | 779 /* ES6 section 21.1.3.6 */ \ |
778 /* String.prototype.endsWith ( searchString [ , endPosition ] ) */ \ | 780 /* String.prototype.endsWith ( searchString [ , endPosition ] ) */ \ |
779 CPP(StringPrototypeEndsWith) \ | 781 CPP(StringPrototypeEndsWith) \ |
780 /* ES6 section 21.1.3.7 */ \ | 782 /* ES6 section 21.1.3.7 */ \ |
781 /* String.prototype.includes ( searchString [ , position ] ) */ \ | 783 /* String.prototype.includes ( searchString [ , position ] ) */ \ |
782 CPP(StringPrototypeIncludes) \ | 784 CPP(StringPrototypeIncludes) \ |
783 /* ES6 section #sec-string.prototype.indexof */ \ | 785 /* ES6 section #sec-string.prototype.indexof */ \ |
784 /* String.prototype.indexOf ( searchString [ , position ] ) */ \ | 786 /* String.prototype.indexOf ( searchString [ , position ] ) */ \ |
785 TFJ(StringPrototypeIndexOf, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ | 787 TFJ(StringPrototypeIndexOf, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
786 /* ES6 section 21.1.3.9 */ \ | 788 /* ES6 section 21.1.3.9 */ \ |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1056 | 1058 |
1057 friend class Isolate; | 1059 friend class Isolate; |
1058 | 1060 |
1059 DISALLOW_COPY_AND_ASSIGN(Builtins); | 1061 DISALLOW_COPY_AND_ASSIGN(Builtins); |
1060 }; | 1062 }; |
1061 | 1063 |
1062 } // namespace internal | 1064 } // namespace internal |
1063 } // namespace v8 | 1065 } // namespace v8 |
1064 | 1066 |
1065 #endif // V8_BUILTINS_BUILTINS_H_ | 1067 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |