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

Unified Diff: src/factory.h

Issue 2703563002: [ESNext] Implement DynamicImportCall (Closed)
Patch Set: rebase Created 3 years, 8 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/d8.cc ('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 7ec14570c0f164cccdb743366ad6b016d56598be..60b53a860dcb2ea06394c4df61de9643be0a541a 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -266,6 +266,9 @@ class V8_EXPORT_PRIVATE Factory final {
Handle<Symbol> NewSymbol();
Handle<Symbol> NewPrivateSymbol();
+ // Create a promise.
+ Handle<JSPromise> NewJSPromise();
+
// Create a global (but otherwise uninitialized) context.
Handle<Context> NewNativeContext();
« no previous file with comments | « src/d8.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698