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

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

Issue 2373493002: [stubs] Port String.prototype.substr to TurboFan (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
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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 TFJ(StringPrototypeCharAt, 2) \ 538 TFJ(StringPrototypeCharAt, 2) \
539 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ 539 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \
540 TFJ(StringPrototypeCharCodeAt, 2) \ 540 TFJ(StringPrototypeCharCodeAt, 2) \
541 /* ES6 section 21.1.3.9 */ \ 541 /* ES6 section 21.1.3.9 */ \
542 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \ 542 /* String.prototype.lastIndexOf ( searchString [ , position ] ) */ \
543 CPP(StringPrototypeLastIndexOf) \ 543 CPP(StringPrototypeLastIndexOf) \
544 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \ 544 /* ES6 section 21.1.3.10 String.prototype.localeCompare ( that ) */ \
545 CPP(StringPrototypeLocaleCompare) \ 545 CPP(StringPrototypeLocaleCompare) \
546 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \ 546 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \
547 CPP(StringPrototypeNormalize) \ 547 CPP(StringPrototypeNormalize) \
548 /* ES6 section B.2.3.1 String.prototype.substr ( start, length ) */ \
549 TFJ(StringPrototypeSubstr, 3) \
548 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ 550 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \
549 TFJ(StringPrototypeSubstring, 3) \ 551 TFJ(StringPrototypeSubstring, 3) \
550 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ 552 /* ES6 section 21.1.3.25 String.prototype.toString () */ \
551 TFJ(StringPrototypeToString, 1) \ 553 TFJ(StringPrototypeToString, 1) \
552 CPP(StringPrototypeTrim) \ 554 CPP(StringPrototypeTrim) \
553 CPP(StringPrototypeTrimLeft) \ 555 CPP(StringPrototypeTrimLeft) \
554 CPP(StringPrototypeTrimRight) \ 556 CPP(StringPrototypeTrimRight) \
555 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ 557 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \
556 TFJ(StringPrototypeValueOf, 1) \ 558 TFJ(StringPrototypeValueOf, 1) \
557 /* ES6 #sec-string.prototype-@@iterator */ \ 559 /* ES6 #sec-string.prototype-@@iterator */ \
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 722
721 friend class Isolate; 723 friend class Isolate;
722 724
723 DISALLOW_COPY_AND_ASSIGN(Builtins); 725 DISALLOW_COPY_AND_ASSIGN(Builtins);
724 }; 726 };
725 727
726 } // namespace internal 728 } // namespace internal
727 } // namespace v8 729 } // namespace v8
728 730
729 #endif // V8_BUILTINS_BUILTINS_H_ 731 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698