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

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

Issue 2645313003: [async-iteration] implement Async-from-Sync Iterator (Closed)
Patch Set: rebase Created 3 years, 10 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/globals.h" 9 #include "src/globals.h"
10 10
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 TFJ(TypedArrayPrototypeByteOffset, 0) \ 809 TFJ(TypedArrayPrototypeByteOffset, 0) \
810 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \ 810 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \
811 TFJ(TypedArrayPrototypeLength, 0) \ 811 TFJ(TypedArrayPrototypeLength, 0) \
812 /* ES6 #sec-%typedarray%.prototype.entries */ \ 812 /* ES6 #sec-%typedarray%.prototype.entries */ \
813 TFJ(TypedArrayPrototypeEntries, 0) \ 813 TFJ(TypedArrayPrototypeEntries, 0) \
814 /* ES6 #sec-%typedarray%.prototype.keys */ \ 814 /* ES6 #sec-%typedarray%.prototype.keys */ \
815 TFJ(TypedArrayPrototypeKeys, 0) \ 815 TFJ(TypedArrayPrototypeKeys, 0) \
816 /* ES6 #sec-%typedarray%.prototype.values */ \ 816 /* ES6 #sec-%typedarray%.prototype.values */ \
817 TFJ(TypedArrayPrototypeValues, 0) \ 817 TFJ(TypedArrayPrototypeValues, 0) \
818 /* ES6 #sec-%typedarray%.prototype.copywithin */ \ 818 /* ES6 #sec-%typedarray%.prototype.copywithin */ \
819 CPP(TypedArrayPrototypeCopyWithin) 819 CPP(TypedArrayPrototypeCopyWithin) \
820 \
821 /* Async-from-Sync Iterator builtins */ \
822 \
823 /* %AsyncFromSyncIteratorPrototype% */ \
824 /* (proposal-async-iteration/#sec-%asyncfromsynciteratorprototype%-object)*/ \
825 TFJ(AsyncFromSyncIteratorPrototypeNext, 1) \
826 TFJ(AsyncFromSyncIteratorPrototypeThrow, 1) \
827 TFJ(AsyncFromSyncIteratorPrototypeReturn, 1) \
828 \
829 /* proposal-async-iteration/#sec-async-iterator-value-unwrap-functions */ \
830 TFJ(AsyncIteratorValueUnwrap, 1)
820 831
821 #define IGNORE_BUILTIN(...) 832 #define IGNORE_BUILTIN(...)
822 833
823 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V) 834 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V)
824 835
825 #define BUILTIN_LIST_C(V) \ 836 #define BUILTIN_LIST_C(V) \
826 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ 837 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \
827 IGNORE_BUILTIN, IGNORE_BUILTIN) 838 IGNORE_BUILTIN, IGNORE_BUILTIN)
828 839
829 #define BUILTIN_LIST_A(V) \ 840 #define BUILTIN_LIST_A(V) \
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 975
965 friend class Isolate; 976 friend class Isolate;
966 977
967 DISALLOW_COPY_AND_ASSIGN(Builtins); 978 DISALLOW_COPY_AND_ASSIGN(Builtins);
968 }; 979 };
969 980
970 } // namespace internal 981 } // namespace internal
971 } // namespace v8 982 } // namespace v8
972 983
973 #endif // V8_BUILTINS_BUILTINS_H_ 984 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698