Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 4b4ee0fa2705ef5f5604b2a2d37fca0767f21a1e..964ac555c4e5cce544adb04eb4708d154fdfbb20 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -60,6 +60,12 @@ class Factory final { |
// Create a new boxed value. |
Handle<Box> NewBox(Handle<Object> value); |
+ // Create a new PromiseContainer struct. |
+ Handle<PromiseContainer> NewPromiseContainer( |
+ Handle<JSReceiver> 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(); |