OLD | NEW |
1 // Copyright 2017 the V8 project authors. All rights reserved. | 1 // Copyright 2017 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_DEFINITIONS_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_DEFINITIONS_H_ |
6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_ | 6 #define V8_BUILTINS_BUILTINS_DEFINITIONS_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 | 10 |
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 /* ES6 #sec-string.prototype.includes */ \ | 847 /* ES6 #sec-string.prototype.includes */ \ |
848 CPP(StringPrototypeIncludes) \ | 848 CPP(StringPrototypeIncludes) \ |
849 /* ES6 #sec-string.prototype.indexof */ \ | 849 /* ES6 #sec-string.prototype.indexof */ \ |
850 TFJ(StringPrototypeIndexOf, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ | 850 TFJ(StringPrototypeIndexOf, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ |
851 /* ES6 #sec-string.prototype.lastindexof */ \ | 851 /* ES6 #sec-string.prototype.lastindexof */ \ |
852 CPP(StringPrototypeLastIndexOf) \ | 852 CPP(StringPrototypeLastIndexOf) \ |
853 /* ES6 #sec-string.prototype.localecompare */ \ | 853 /* ES6 #sec-string.prototype.localecompare */ \ |
854 CPP(StringPrototypeLocaleCompare) \ | 854 CPP(StringPrototypeLocaleCompare) \ |
855 /* ES6 #sec-string.prototype.replace */ \ | 855 /* ES6 #sec-string.prototype.replace */ \ |
856 TFJ(StringPrototypeReplace, 2, kSearch, kReplace) \ | 856 TFJ(StringPrototypeReplace, 2, kSearch, kReplace) \ |
| 857 /* ES6 #sec-string.prototype.slice */ \ |
| 858 TFJ(StringPrototypeSlice, 2, kStart, kEnd) \ |
857 /* ES6 #sec-string.prototype.split */ \ | 859 /* ES6 #sec-string.prototype.split */ \ |
858 TFJ(StringPrototypeSplit, 2, kSeparator, kLimit) \ | 860 TFJ(StringPrototypeSplit, 2, kSeparator, kLimit) \ |
859 /* ES6 #sec-string.prototype.substr */ \ | 861 /* ES6 #sec-string.prototype.substr */ \ |
860 TFJ(StringPrototypeSubstr, 2, kStart, kLength) \ | 862 TFJ(StringPrototypeSubstr, 2, kStart, kLength) \ |
861 /* ES6 #sec-string.prototype.substring */ \ | 863 /* ES6 #sec-string.prototype.substring */ \ |
862 TFJ(StringPrototypeSubstring, 2, kStart, kEnd) \ | 864 TFJ(StringPrototypeSubstring, 2, kStart, kEnd) \ |
863 /* ES6 #sec-string.prototype.startswith */ \ | 865 /* ES6 #sec-string.prototype.startswith */ \ |
864 CPP(StringPrototypeStartsWith) \ | 866 CPP(StringPrototypeStartsWith) \ |
865 /* ES6 #sec-string.prototype.tostring */ \ | 867 /* ES6 #sec-string.prototype.tostring */ \ |
866 TFJ(StringPrototypeToString, 0) \ | 868 TFJ(StringPrototypeToString, 0) \ |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1057 #define BUILTIN_LIST_TFS(V) \ | 1059 #define BUILTIN_LIST_TFS(V) \ |
1058 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ | 1060 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ |
1059 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) | 1061 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) |
1060 | 1062 |
1061 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) | 1063 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) |
1062 | 1064 |
1063 } // namespace internal | 1065 } // namespace internal |
1064 } // namespace v8 | 1066 } // namespace v8 |
1065 | 1067 |
1066 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ | 1068 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ |
OLD | NEW |