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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 TFJ(StringPrototypeValueOf, 0) \ | 672 TFJ(StringPrototypeValueOf, 0) \ |
673 /* ES6 #sec-string.prototype-@@iterator */ \ | 673 /* ES6 #sec-string.prototype-@@iterator */ \ |
674 TFJ(StringPrototypeIterator, 0) \ | 674 TFJ(StringPrototypeIterator, 0) \ |
675 \ | 675 \ |
676 /* StringIterator */ \ | 676 /* StringIterator */ \ |
677 TFJ(StringIteratorPrototypeNext, 0) \ | 677 TFJ(StringIteratorPrototypeNext, 0) \ |
678 \ | 678 \ |
679 /* Symbol */ \ | 679 /* Symbol */ \ |
680 CPP(SymbolConstructor) \ | 680 CPP(SymbolConstructor) \ |
681 CPP(SymbolConstructor_ConstructStub) \ | 681 CPP(SymbolConstructor_ConstructStub) \ |
| 682 /* ES6 section 19.4.2.1 Symbol.for */ \ |
| 683 CPP(SymbolFor) \ |
| 684 /* ES6 section 19.4.2.5 Symbol.keyFor */ \ |
| 685 CPP(SymbolKeyFor) \ |
682 /* ES6 section 19.4.3.4 Symbol.prototype [ @@toPrimitive ] ( hint ) */ \ | 686 /* ES6 section 19.4.3.4 Symbol.prototype [ @@toPrimitive ] ( hint ) */ \ |
683 TFJ(SymbolPrototypeToPrimitive, 1) \ | 687 TFJ(SymbolPrototypeToPrimitive, 1) \ |
684 /* ES6 section 19.4.3.2 Symbol.prototype.toString ( ) */ \ | 688 /* ES6 section 19.4.3.2 Symbol.prototype.toString ( ) */ \ |
685 TFJ(SymbolPrototypeToString, 0) \ | 689 TFJ(SymbolPrototypeToString, 0) \ |
686 /* ES6 section 19.4.3.3 Symbol.prototype.valueOf ( ) */ \ | 690 /* ES6 section 19.4.3.3 Symbol.prototype.valueOf ( ) */ \ |
687 TFJ(SymbolPrototypeValueOf, 0) \ | 691 TFJ(SymbolPrototypeValueOf, 0) \ |
688 \ | 692 \ |
689 /* TypedArray */ \ | 693 /* TypedArray */ \ |
690 CPP(TypedArrayPrototypeBuffer) \ | 694 CPP(TypedArrayPrototypeBuffer) \ |
691 /* ES6 section 22.2.3.2 get %TypedArray%.prototype.byteLength */ \ | 695 /* ES6 section 22.2.3.2 get %TypedArray%.prototype.byteLength */ \ |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 | 849 |
846 friend class Isolate; | 850 friend class Isolate; |
847 | 851 |
848 DISALLOW_COPY_AND_ASSIGN(Builtins); | 852 DISALLOW_COPY_AND_ASSIGN(Builtins); |
849 }; | 853 }; |
850 | 854 |
851 } // namespace internal | 855 } // namespace internal |
852 } // namespace v8 | 856 } // namespace v8 |
853 | 857 |
854 #endif // V8_BUILTINS_BUILTINS_H_ | 858 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |