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

Unified Diff: src/factory.h

Issue 2703563002: [ESNext] Implement DynamicImportCall (Closed)
Patch Set: add test + comments Created 3 years, 9 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
« include/v8.h ('K') | « 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 2038bf2d10cb93b44f28791e80cc793e84191598..a18bcd353b8248beb3451bf737c530d205bbbb0a 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();
« include/v8.h ('K') | « src/d8.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698