OLD | NEW |
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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ | 557 /* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \ |
558 TFJ(StringPrototypeSubstring, 3) \ | 558 TFJ(StringPrototypeSubstring, 3) \ |
559 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ | 559 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ |
560 TFJ(StringPrototypeToString, 1) \ | 560 TFJ(StringPrototypeToString, 1) \ |
561 CPP(StringPrototypeTrim) \ | 561 CPP(StringPrototypeTrim) \ |
562 CPP(StringPrototypeTrimLeft) \ | 562 CPP(StringPrototypeTrimLeft) \ |
563 CPP(StringPrototypeTrimRight) \ | 563 CPP(StringPrototypeTrimRight) \ |
564 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ | 564 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ |
565 TFJ(StringPrototypeValueOf, 1) \ | 565 TFJ(StringPrototypeValueOf, 1) \ |
566 /* ES6 #sec-string.prototype-@@iterator */ \ | 566 /* ES6 #sec-string.prototype-@@iterator */ \ |
567 CPP(StringPrototypeIterator) \ | 567 TFJ(StringPrototypeIterator, 1) \ |
568 \ | 568 \ |
569 /* StringIterator */ \ | 569 /* StringIterator */ \ |
570 CPP(StringIteratorPrototypeNext) \ | 570 TFJ(StringIteratorPrototypeNext, 1) \ |
571 \ | 571 \ |
572 /* Symbol */ \ | 572 /* Symbol */ \ |
573 CPP(SymbolConstructor) \ | 573 CPP(SymbolConstructor) \ |
574 CPP(SymbolConstructor_ConstructStub) \ | 574 CPP(SymbolConstructor_ConstructStub) \ |
575 /* ES6 section 19.4.3.4 Symbol.prototype [ @@toPrimitive ] ( hint ) */ \ | 575 /* ES6 section 19.4.3.4 Symbol.prototype [ @@toPrimitive ] ( hint ) */ \ |
576 TFJ(SymbolPrototypeToPrimitive, 2) \ | 576 TFJ(SymbolPrototypeToPrimitive, 2) \ |
577 /* ES6 section 19.4.3.2 Symbol.prototype.toString ( ) */ \ | 577 /* ES6 section 19.4.3.2 Symbol.prototype.toString ( ) */ \ |
578 TFJ(SymbolPrototypeToString, 1) \ | 578 TFJ(SymbolPrototypeToString, 1) \ |
579 /* ES6 section 19.4.3.3 Symbol.prototype.valueOf ( ) */ \ | 579 /* ES6 section 19.4.3.3 Symbol.prototype.valueOf ( ) */ \ |
580 TFJ(SymbolPrototypeValueOf, 1) \ | 580 TFJ(SymbolPrototypeValueOf, 1) \ |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
729 | 729 |
730 friend class Isolate; | 730 friend class Isolate; |
731 | 731 |
732 DISALLOW_COPY_AND_ASSIGN(Builtins); | 732 DISALLOW_COPY_AND_ASSIGN(Builtins); |
733 }; | 733 }; |
734 | 734 |
735 } // namespace internal | 735 } // namespace internal |
736 } // namespace v8 | 736 } // namespace v8 |
737 | 737 |
738 #endif // V8_BUILTINS_BUILTINS_H_ | 738 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |