• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2018 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef V8_OBJECTS_PROMISE_INL_H_
6 #define V8_OBJECTS_PROMISE_INL_H_
7 
8 #include "src/objects/promise.h"
9 
10 #include "src/objects/js-promise-inl.h"
11 #include "src/objects/microtask-inl.h"
12 
13 // Has to be the last include (doesn't have include guards):
14 #include "src/objects/object-macros.h"
15 
16 namespace v8 {
17 namespace internal {
18 
19 #include "torque-generated/src/objects/promise-tq-inl.inc"
20 
21 TQ_OBJECT_CONSTRUCTORS_IMPL(PromiseReactionJobTask)
22 TQ_OBJECT_CONSTRUCTORS_IMPL(PromiseFulfillReactionJobTask)
23 TQ_OBJECT_CONSTRUCTORS_IMPL(PromiseRejectReactionJobTask)
24 TQ_OBJECT_CONSTRUCTORS_IMPL(PromiseResolveThenableJobTask)
25 TQ_OBJECT_CONSTRUCTORS_IMPL(PromiseCapability)
26 TQ_OBJECT_CONSTRUCTORS_IMPL(PromiseReaction)
27 
28 }  // namespace internal
29 }  // namespace v8
30 
31 #include "src/objects/object-macros-undef.h"
32 
33 #endif  // V8_OBJECTS_PROMISE_INL_H_
34