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

Unified Diff: src/factory.h

Issue 2314903004: [promises] Move PromiseResolveThenableJob to c++ (Closed)
Patch Set: reorder Created 4 years, 3 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/compiler/types.cc ('k') | src/factory.cc » ('j') | src/isolate.cc » ('J')
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 5c695dd4c90abfb617941b25ebf8d776e2927564..f4558567649b02e4ee1ebeb568a7b2fc2d627983 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -61,6 +61,13 @@ class Factory final {
// Create a new boxed value.
Handle<Box> NewBox(Handle<Object> value);
+ // Create a new PromiseContainer struct.
+ Handle<PromiseContainer> NewPromiseContainer(
+ Handle<JSObject> promise, Handle<JSObject> thenable,
+ Handle<JSFunction> then, Handle<JSFunction> resolve,
+ Handle<JSFunction> reject, Handle<Object> before_debug_event,
+ Handle<Object> after_debug_event);
+
// Create a new PrototypeInfo struct.
Handle<PrototypeInfo> NewPrototypeInfo();
« no previous file with comments | « src/compiler/types.cc ('k') | src/factory.cc » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698