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

Unified Diff: src/factory.h

Issue 2622833002: WIP [esnext] implement async iteration proposal (Closed)
Patch Set: simplify AsyncIteratorValueUnwrap 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/contexts.h ('k') | src/factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index c79edcd27e68c1b353faa0d646f36f9626be27e7..07d3ac5bc6cc440f89ec98913b74c78e0ecb205d 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -538,6 +538,8 @@ class V8_EXPORT_PRIVATE Factory final {
size_t byte_offset, size_t byte_length);
Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value, bool done);
+ Handle<JSAsyncFromSyncIterator> NewJSAsyncFromSyncIterator(
+ Handle<HeapObject> sync_iterator);
Handle<JSMap> NewJSMap();
Handle<JSSet> NewJSSet();
« no previous file with comments | « src/contexts.h ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698