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

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

Issue 2407423002: [modules] Implement @@iterator on namespace objects. (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 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 /* ES6 section 19.4.3.3 Symbol.prototype.valueOf ( ) */ \ 658 /* ES6 section 19.4.3.3 Symbol.prototype.valueOf ( ) */ \
659 TFJ(SymbolPrototypeValueOf, 1) \ 659 TFJ(SymbolPrototypeValueOf, 1) \
660 \ 660 \
661 /* TypedArray */ \ 661 /* TypedArray */ \
662 CPP(TypedArrayPrototypeBuffer) \ 662 CPP(TypedArrayPrototypeBuffer) \
663 /* ES6 section 22.2.3.2 get %TypedArray%.prototype.byteLength */ \ 663 /* ES6 section 22.2.3.2 get %TypedArray%.prototype.byteLength */ \
664 TFJ(TypedArrayPrototypeByteLength, 1) \ 664 TFJ(TypedArrayPrototypeByteLength, 1) \
665 /* ES6 section 22.2.3.3 get %TypedArray%.prototype.byteOffset */ \ 665 /* ES6 section 22.2.3.3 get %TypedArray%.prototype.byteOffset */ \
666 TFJ(TypedArrayPrototypeByteOffset, 1) \ 666 TFJ(TypedArrayPrototypeByteOffset, 1) \
667 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \ 667 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \
668 TFJ(TypedArrayPrototypeLength, 1) 668 TFJ(TypedArrayPrototypeLength, 1) \
669 \
670 CPP(ModuleNamespaceIterator) \
671 CPP(FixedArrayIteratorNext)
669 672
670 #define IGNORE_BUILTIN(...) 673 #define IGNORE_BUILTIN(...)
671 674
672 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V) 675 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V)
673 676
674 #define BUILTIN_LIST_C(V) \ 677 #define BUILTIN_LIST_C(V) \
675 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ 678 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \
676 IGNORE_BUILTIN, IGNORE_BUILTIN) 679 IGNORE_BUILTIN, IGNORE_BUILTIN)
677 680
678 #define BUILTIN_LIST_A(V) \ 681 #define BUILTIN_LIST_A(V) \
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 811
809 friend class Isolate; 812 friend class Isolate;
810 813
811 DISALLOW_COPY_AND_ASSIGN(Builtins); 814 DISALLOW_COPY_AND_ASSIGN(Builtins);
812 }; 815 };
813 816
814 } // namespace internal 817 } // namespace internal
815 } // namespace v8 818 } // namespace v8
816 819
817 #endif // V8_BUILTINS_BUILTINS_H_ 820 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698