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

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

Issue 2373493002: [stubs] Port String.prototype.substr to TurboFan (Closed)
Patch Set: Additional tests 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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 TFJ(StringPrototypeCharAt, 2) \ 546 TFJ(StringPrototypeCharAt, 2) \
547 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ 547 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \
548 TFJ(StringPrototypeCharCodeAt, 2) \ 548 TFJ(StringPrototypeCharCodeAt, 2) \
549 /* ES6 section 21.1.3.9 */ \ 549 /* ES6 section 21.1.3.9 */ \
550 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \ 550 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \
551 CPP(StringPrototypeLastIndexOf) \ 551 CPP(StringPrototypeLastIndexOf) \
552 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \ 552 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \
553 CPP(StringPrototypeLocaleCompare) \ 553 CPP(StringPrototypeLocaleCompare) \
554 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ 554 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \
555 CPP(StringPrototypeNormalize) \ 555 CPP(StringPrototypeNormalize) \
556 /* ES6 section B.2.3.1 String.prototype.substr ( start, length ) */ \
557 TFJ(StringPrototypeSubstr, 3) \
556 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ 558 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \
557 TFJ(StringPrototypeSubstring, 3) \ 559 TFJ(StringPrototypeSubstring, 3) \
558 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ 560 /* ES6 section 21.1.3.25 String.prototype.toString () */ \
559 TFJ(StringPrototypeToString, 1) \ 561 TFJ(StringPrototypeToString, 1) \
560 CPP(StringPrototypeTrim) \ 562 CPP(StringPrototypeTrim) \
561 CPP(StringPrototypeTrimLeft) \ 563 CPP(StringPrototypeTrimLeft) \
562 CPP(StringPrototypeTrimRight) \ 564 CPP(StringPrototypeTrimRight) \
563 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ 565 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \
564 TFJ(StringPrototypeValueOf, 1) \ 566 TFJ(StringPrototypeValueOf, 1) \
565 /* ES6 #sec-string.prototype-@@iterator */ \ 567 /* ES6 #sec-string.prototype-@@iterator */ \
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 730
729 friend class Isolate; 731 friend class Isolate;
730 732
731 DISALLOW_COPY_AND_ASSIGN(Builtins); 733 DISALLOW_COPY_AND_ASSIGN(Builtins);
732 }; 734 };
733 735
734 } // namespace internal 736 } // namespace internal
735 } // namespace v8 737 } // namespace v8
736 738
737 #endif // V8_BUILTINS_BUILTINS_H_ 739 #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