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

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

Issue 2407793002: Revert of [builtins] Move StringIncludes to a builtin. (Closed)
Patch Set: Created 4 years, 2 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.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 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/handles.h" 9 #include "src/handles.h"
10 10
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 /* String */ \ 597 /* String */ \
598 ASM(StringConstructor) \ 598 ASM(StringConstructor) \
599 ASM(StringConstructor_ConstructStub) \ 599 ASM(StringConstructor_ConstructStub) \
600 CPP(StringFromCodePoint) \ 600 CPP(StringFromCodePoint) \
601 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ 601 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \
602 TFJ(StringFromCharCode, 2) \ 602 TFJ(StringFromCharCode, 2) \
603 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ 603 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \
604 TFJ(StringPrototypeCharAt, 2) \ 604 TFJ(StringPrototypeCharAt, 2) \
605 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ 605 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \
606 TFJ(StringPrototypeCharCodeAt, 2) \ 606 TFJ(StringPrototypeCharCodeAt, 2) \
607 /* ES6 section 21.1.3.7 */ \
608 /* String.prototype.includes ( searchString [ , position ] ) */ \
609 CPP(StringPrototypeIncludes) \
610 /* ES6 section 21.1.3.8 */ \ 607 /* ES6 section 21.1.3.8 */ \
611 /* String.prototype.indexOf ( searchString [ , position ] ) */ \ 608 /* String.prototype.indexOf ( searchString [ , position ] ) */ \
612 CPP(StringPrototypeIndexOf) \ 609 CPP(StringPrototypeIndexOf) \
613 /* ES6 section 21.1.3.9 */ \ 610 /* ES6 section 21.1.3.9 */ \
614 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \ 611 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \
615 CPP(StringPrototypeLastIndexOf) \ 612 CPP(StringPrototypeLastIndexOf) \
616 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \ 613 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \
617 CPP(StringPrototypeLocaleCompare) \ 614 CPP(StringPrototypeLocaleCompare) \
618 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ 615 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \
619 CPP(StringPrototypeNormalize) \ 616 CPP(StringPrototypeNormalize) \
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 791
795 friend class Isolate; 792 friend class Isolate;
796 793
797 DISALLOW_COPY_AND_ASSIGN(Builtins); 794 DISALLOW_COPY_AND_ASSIGN(Builtins);
798 }; 795 };
799 796
800 } // namespace internal 797 } // namespace internal
801 } // namespace v8 798 } // namespace v8
802 799
803 #endif // V8_BUILTINS_BUILTINS_H_ 800 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-string.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698