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