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

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

Issue 2645313003: [async-iteration] implement Async-from-Sync Iterator (Closed)
Patch Set: attempt #3 to fix merge conflicts Created 3 years, 11 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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 TFJ(TypedArrayPrototypeByteLength, 0) \ 778 TFJ(TypedArrayPrototypeByteLength, 0) \
779 /* ES6 section 22.2.3.3 get %TypedArray%.prototype.byteOffset */ \ 779 /* ES6 section 22.2.3.3 get %TypedArray%.prototype.byteOffset */ \
780 TFJ(TypedArrayPrototypeByteOffset, 0) \ 780 TFJ(TypedArrayPrototypeByteOffset, 0) \
781 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \ 781 /* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \
782 TFJ(TypedArrayPrototypeLength, 0) \ 782 TFJ(TypedArrayPrototypeLength, 0) \
783 /* ES6 #sec-%typedarray%.prototype.entries */ \ 783 /* ES6 #sec-%typedarray%.prototype.entries */ \
784 TFJ(TypedArrayPrototypeEntries, 0) \ 784 TFJ(TypedArrayPrototypeEntries, 0) \
785 /* ES6 #sec-%typedarray%.prototype.keys */ \ 785 /* ES6 #sec-%typedarray%.prototype.keys */ \
786 TFJ(TypedArrayPrototypeKeys, 0) \ 786 TFJ(TypedArrayPrototypeKeys, 0) \
787 /* ES6 #sec-%typedarray%.prototype.values */ \ 787 /* ES6 #sec-%typedarray%.prototype.values */ \
788 TFJ(TypedArrayPrototypeValues, 0) 788 TFJ(TypedArrayPrototypeValues, 0) \
789 \
790 /* Async-from-Sync Iterator builtins */ \
791 \
792 /* %AsyncFromSyncIteratorPrototype% */ \
793 /* (proposal-async-iteration/#sec-%asyncfromsynciteratorprototype%-object)*/ \
794 TFJ(AsyncFromSyncIteratorPrototypeNext, 1) \
795 TFJ(AsyncFromSyncIteratorPrototypeThrow, 1) \
796 TFJ(AsyncFromSyncIteratorPrototypeReturn, 1) \
797 \
798 /* proposal-async-iteration/#sec-async-iterator-value-unwrap-functions */ \
799 TFJ(AsyncIteratorValueUnwrap, 1)
789 800
790 #define IGNORE_BUILTIN(...) 801 #define IGNORE_BUILTIN(...)
791 802
792 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V) 803 #define BUILTIN_LIST_ALL(V) BUILTIN_LIST(V, V, V, V, V, V, V)
793 804
794 #define BUILTIN_LIST_C(V) \ 805 #define BUILTIN_LIST_C(V) \
795 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \ 806 BUILTIN_LIST(V, V, IGNORE_BUILTIN, IGNORE_BUILTIN, IGNORE_BUILTIN, \
796 IGNORE_BUILTIN, IGNORE_BUILTIN) 807 IGNORE_BUILTIN, IGNORE_BUILTIN)
797 808
798 #define BUILTIN_LIST_A(V) \ 809 #define BUILTIN_LIST_A(V) \
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 943
933 friend class Isolate; 944 friend class Isolate;
934 945
935 DISALLOW_COPY_AND_ASSIGN(Builtins); 946 DISALLOW_COPY_AND_ASSIGN(Builtins);
936 }; 947 };
937 948
938 } // namespace internal 949 } // namespace internal
939 } // namespace v8 950 } // namespace v8
940 951
941 #endif // V8_BUILTINS_BUILTINS_H_ 952 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698