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

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

Issue 2663803002: [string] Migrate String.prototype.{split,replace} to TF (Closed)
Patch Set: Remove debug-evaluate whitelisting Created 3 years, 10 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-regexp.h » ('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 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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 /* ES6 section #sec-string.prototype.indexof */ \ 741 /* ES6 section #sec-string.prototype.indexof */ \
742 /* String.prototype.indexOf ( searchString [ , position ] ) */ \ 742 /* String.prototype.indexOf ( searchString [ , position ] ) */ \
743 TFJ(StringPrototypeIndexOf, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \ 743 TFJ(StringPrototypeIndexOf, SharedFunctionInfo::kDontAdaptArgumentsSentinel) \
744 /* ES6 section 21.1.3.9 */ \ 744 /* ES6 section 21.1.3.9 */ \
745 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \ 745 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \
746 CPP(StringPrototypeLastIndexOf) \ 746 CPP(StringPrototypeLastIndexOf) \
747 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \ 747 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \
748 CPP(StringPrototypeLocaleCompare) \ 748 CPP(StringPrototypeLocaleCompare) \
749 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ 749 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \
750 CPP(StringPrototypeNormalize) \ 750 CPP(StringPrototypeNormalize) \
751 /* ES6 section 21.1.3.16 String.prototype.replace ( search, replace ) */ \
752 TFJ(StringPrototypeReplace, 2) \
753 /* ES6 section 21.1.3.19 String.prototype.split ( separator, limit ) */ \
754 TFJ(StringPrototypeSplit, 2) \
751 /* ES6 section B.2.3.1 String.prototype.substr ( start, length ) */ \ 755 /* ES6 section B.2.3.1 String.prototype.substr ( start, length ) */ \
752 TFJ(StringPrototypeSubstr, 2) \ 756 TFJ(StringPrototypeSubstr, 2) \
753 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ 757 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \
754 TFJ(StringPrototypeSubstring, 2) \ 758 TFJ(StringPrototypeSubstring, 2) \
755 /* ES6 section 21.1.3.20 */ \ 759 /* ES6 section 21.1.3.20 */ \
756 /* String.prototype.startsWith ( searchString [ , position ] ) */ \ 760 /* String.prototype.startsWith ( searchString [ , position ] ) */ \
757 CPP(StringPrototypeStartsWith) \ 761 CPP(StringPrototypeStartsWith) \
758 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ 762 /* ES6 section 21.1.3.25 String.prototype.toString () */ \
759 TFJ(StringPrototypeToString, 0) \ 763 TFJ(StringPrototypeToString, 0) \
760 CPP(StringPrototypeTrim) \ 764 CPP(StringPrototypeTrim) \
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 947
944 friend class Isolate; 948 friend class Isolate;
945 949
946 DISALLOW_COPY_AND_ASSIGN(Builtins); 950 DISALLOW_COPY_AND_ASSIGN(Builtins);
947 }; 951 };
948 952
949 } // namespace internal 953 } // namespace internal
950 } // namespace v8 954 } // namespace v8
951 955
952 #endif // V8_BUILTINS_BUILTINS_H_ 956 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-regexp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698