Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: src/builtins/builtins-definitions.h

Issue 2870013004: [builtins] String.prototype.slice as a CSA builtin. (Closed)
Patch Set: REBASE. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-string-gen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 /* ES6 #sec-string.prototype.includes */ \ 846 /* ES6 #sec-string.prototype.includes */ \
847 CPP(StringPrototypeIncludes) \ 847 CPP(StringPrototypeIncludes) \
848 /* ES6 #sec-string.prototype.indexof */ \ 848 /* ES6 #sec-string.prototype.indexof */ \
849 TFJ(StringPrototypeIndexOf, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ 849 TFJ(StringPrototypeIndexOf, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
850 /* ES6 #sec-string.prototype.lastindexof */ \ 850 /* ES6 #sec-string.prototype.lastindexof */ \
851 CPP(StringPrototypeLastIndexOf) \ 851 CPP(StringPrototypeLastIndexOf) \
852 /* ES6 #sec-string.prototype.localecompare */ \ 852 /* ES6 #sec-string.prototype.localecompare */ \
853 CPP(StringPrototypeLocaleCompare) \ 853 CPP(StringPrototypeLocaleCompare) \
854 /* ES6 #sec-string.prototype.replace */ \ 854 /* ES6 #sec-string.prototype.replace */ \
855 TFJ(StringPrototypeReplace, 2, kSearch, kReplace) \ 855 TFJ(StringPrototypeReplace, 2, kSearch, kReplace) \
856 /* ES6 #sec-string.prototype.slice */ \
857 TFJ(StringPrototypeSlice, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
856 /* ES6 #sec-string.prototype.split */ \ 858 /* ES6 #sec-string.prototype.split */ \
857 TFJ(StringPrototypeSplit, 2, kSeparator, kLimit) \ 859 TFJ(StringPrototypeSplit, 2, kSeparator, kLimit) \
858 /* ES6 #sec-string.prototype.substr */ \ 860 /* ES6 #sec-string.prototype.substr */ \
859 TFJ(StringPrototypeSubstr, 2, kStart, kLength) \ 861 TFJ(StringPrototypeSubstr, 2, kStart, kLength) \
860 /* ES6 #sec-string.prototype.substring */ \ 862 /* ES6 #sec-string.prototype.substring */ \
861 TFJ(StringPrototypeSubstring, 2, kStart, kEnd) \ 863 TFJ(StringPrototypeSubstring, 2, kStart, kEnd) \
862 /* ES6 #sec-string.prototype.startswith */ \ 864 /* ES6 #sec-string.prototype.startswith */ \
863 CPP(StringPrototypeStartsWith) \ 865 CPP(StringPrototypeStartsWith) \
864 /* ES6 #sec-string.prototype.tostring */ \ 866 /* ES6 #sec-string.prototype.tostring */ \
865 TFJ(StringPrototypeToString, 0) \ 867 TFJ(StringPrototypeToString, 0) \
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 #define BUILTIN_LIST_TFS(V) \ 1058 #define BUILTIN_LIST_TFS(V) \
1057 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ 1059 BUILTIN_LIST(IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \
1058 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN) 1060 V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN)
1059 1061
1060 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy) 1062 #define BUILTINS_WITH_UNTAGGED_PARAMS(V) V(WasmCompileLazy)
1061 1063
1062 } // namespace internal 1064 } // namespace internal
1063 } // namespace v8 1065 } // namespace v8
1064 1066
1065 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_ 1067 #endif // V8_BUILTINS_BUILTINS_DEFINITIONS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-string-gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698