aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/objects/promise-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/objects/promise-inl.h')
-rw-r--r--deps/v8/src/objects/promise-inl.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/deps/v8/src/objects/promise-inl.h b/deps/v8/src/objects/promise-inl.h
index f33bc42681..abd9fa3e0a 100644
--- a/deps/v8/src/objects/promise-inl.h
+++ b/deps/v8/src/objects/promise-inl.h
@@ -5,15 +5,24 @@
#ifndef V8_OBJECTS_PROMISE_INL_H_
#define V8_OBJECTS_PROMISE_INL_H_
-#include "src/objects/js-promise-inl.h"
#include "src/objects/promise.h"
+#include "src/objects/js-promise-inl.h"
+#include "src/objects/microtask-inl.h"
+
// Has to be the last include (doesn't have include guards):
#include "src/objects/object-macros.h"
namespace v8 {
namespace internal {
+OBJECT_CONSTRUCTORS_IMPL(PromiseReactionJobTask, Microtask)
+OBJECT_CONSTRUCTORS_IMPL(PromiseFulfillReactionJobTask, PromiseReactionJobTask)
+OBJECT_CONSTRUCTORS_IMPL(PromiseRejectReactionJobTask, PromiseReactionJobTask)
+OBJECT_CONSTRUCTORS_IMPL(PromiseResolveThenableJobTask, Microtask)
+OBJECT_CONSTRUCTORS_IMPL(PromiseCapability, Struct)
+OBJECT_CONSTRUCTORS_IMPL(PromiseReaction, Struct)
+
CAST_ACCESSOR(PromiseCapability)
CAST_ACCESSOR(PromiseReaction)
CAST_ACCESSOR(PromiseReactionJobTask)