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

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

Issue 2358263002: [builtins] migrate C++ String Iterator builtins to baseline TurboFan (Closed)
Patch Set: add "break;" statement to switch case 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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 21.1.3.25 String.prototype.toString () */ \ 548 /* ES6 section 21.1.3.25 String.prototype.toString () */ \
549 TFJ(StringPrototypeToString, 1) \ 549 TFJ(StringPrototypeToString, 1) \
550 CPP(StringPrototypeTrim) \ 550 CPP(StringPrototypeTrim) \
551 CPP(StringPrototypeTrimLeft) \ 551 CPP(StringPrototypeTrimLeft) \
552 CPP(StringPrototypeTrimRight) \ 552 CPP(StringPrototypeTrimRight) \
553 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ 553 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \
554 TFJ(StringPrototypeValueOf, 1) \ 554 TFJ(StringPrototypeValueOf, 1) \
555 /* ES6 #sec-string.prototype-@@iterator */ \ 555 /* ES6 #sec-string.prototype-@@iterator */ \
556 CPP(StringPrototypeIterator) \ 556 TFJ(StringPrototypeIterator, 1) \
557 \ 557 \
558 /* StringIterator */ \ 558 /* StringIterator */ \
559 CPP(StringIteratorPrototypeNext) \ 559 TFJ(StringIteratorPrototypeNext, 1) \
560 \ 560 \
561 /* Symbol */ \ 561 /* Symbol */ \
562 CPP(SymbolConstructor) \ 562 CPP(SymbolConstructor) \
563 CPP(SymbolConstructor_ConstructStub) \ 563 CPP(SymbolConstructor_ConstructStub) \
564 /* ES6 section 19.4.3.4 Symbol.prototype [ @@toPrimitive ] ( hint ) */ \ 564 /* ES6 section 19.4.3.4 Symbol.prototype [ @@toPrimitive ] ( hint ) */ \
565 TFJ(SymbolPrototypeToPrimitive, 2) \ 565 TFJ(SymbolPrototypeToPrimitive, 2) \
566 /* ES6 section 19.4.3.2 Symbol.prototype.toString ( ) */ \ 566 /* ES6 section 19.4.3.2 Symbol.prototype.toString ( ) */ \
567 TFJ(SymbolPrototypeToString, 1) \ 567 TFJ(SymbolPrototypeToString, 1) \
568 /* ES6 section 19.4.3.3 Symbol.prototype.valueOf ( ) */ \ 568 /* ES6 section 19.4.3.3 Symbol.prototype.valueOf ( ) */ \
569 TFJ(SymbolPrototypeValueOf, 1) \ 569 TFJ(SymbolPrototypeValueOf, 1) \
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 718
719 friend class Isolate; 719 friend class Isolate;
720 720
721 DISALLOW_COPY_AND_ASSIGN(Builtins); 721 DISALLOW_COPY_AND_ASSIGN(Builtins);
722 }; 722 };
723 723
724 } // namespace internal 724 } // namespace internal
725 } // namespace v8 725 } // namespace v8
726 726
727 #endif // V8_BUILTINS_BUILTINS_H_ 727 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698