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

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

Issue 2671673003: Revert of [string] Migrate String.prototype.{split,replace} to TF (Closed)
Patch Set: 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) \
755 /* ES6 section B.2.3.1 String.prototype.substr ( start, length ) */ \ 751 /* ES6 section B.2.3.1 String.prototype.substr ( start, length ) */ \
756 TFJ(StringPrototypeSubstr, 2) \ 752 TFJ(StringPrototypeSubstr, 2) \
757 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ 753 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \
758 TFJ(StringPrototypeSubstring, 2) \ 754 TFJ(StringPrototypeSubstring, 2) \
759 /* ES6 section 21.1.3.20 */ \ 755 /* ES6 section 21.1.3.20 */ \
760 /* String.prototype.startsWith ( searchString [ , position ] ) */ \ 756 /* String.prototype.startsWith ( searchString [ , position ] ) */ \
761 CPP(StringPrototypeStartsWith) \ 757 CPP(StringPrototypeStartsWith) \
762 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ 758 /* ES6 section 21.1.3.25 String.prototype.toString () */ \
763 TFJ(StringPrototypeToString, 0) \ 759 TFJ(StringPrototypeToString, 0) \
764 CPP(StringPrototypeTrim) \ 760 CPP(StringPrototypeTrim) \
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 943
948 friend class Isolate; 944 friend class Isolate;
949 945
950 DISALLOW_COPY_AND_ASSIGN(Builtins); 946 DISALLOW_COPY_AND_ASSIGN(Builtins);
951 }; 947 };
952 948
953 } // namespace internal 949 } // namespace internal
954 } // namespace v8 950 } // namespace v8
955 951
956 #endif // V8_BUILTINS_BUILTINS_H_ 952 #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