summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects/turboshaft-types-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/objects/turboshaft-types-inl.h')
-rw-r--r--deps/v8/src/objects/turboshaft-types-inl.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/deps/v8/src/objects/turboshaft-types-inl.h b/deps/v8/src/objects/turboshaft-types-inl.h
new file mode 100644
index 0000000000..3dc379a2e6
--- /dev/null
+++ b/deps/v8/src/objects/turboshaft-types-inl.h
@@ -0,0 +1,33 @@
+// Copyright 2022 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef V8_OBJECTS_TURBOSHAFT_TYPES_INL_H_
+#define V8_OBJECTS_TURBOSHAFT_TYPES_INL_H_
+
+#include "src/heap/heap-write-barrier.h"
+#include "src/objects/turboshaft-types.h"
+
+// Has to be the last include (doesn't have include guards):
+#include "src/objects/object-macros.h"
+
+namespace v8::internal {
+
+#include "torque-generated/src/objects/turboshaft-types-tq-inl.inc"
+
+TQ_OBJECT_CONSTRUCTORS_IMPL(TurboshaftType)
+TQ_OBJECT_CONSTRUCTORS_IMPL(TurboshaftWord32Type)
+TQ_OBJECT_CONSTRUCTORS_IMPL(TurboshaftWord32RangeType)
+TQ_OBJECT_CONSTRUCTORS_IMPL(TurboshaftWord32SetType)
+TQ_OBJECT_CONSTRUCTORS_IMPL(TurboshaftWord64Type)
+TQ_OBJECT_CONSTRUCTORS_IMPL(TurboshaftWord64RangeType)
+TQ_OBJECT_CONSTRUCTORS_IMPL(TurboshaftWord64SetType)
+TQ_OBJECT_CONSTRUCTORS_IMPL(TurboshaftFloat64Type)
+TQ_OBJECT_CONSTRUCTORS_IMPL(TurboshaftFloat64RangeType)
+TQ_OBJECT_CONSTRUCTORS_IMPL(TurboshaftFloat64SetType)
+
+} // namespace v8::internal
+
+#include "src/objects/object-macros-undef.h"
+
+#endif // V8_OBJECTS_TURBOSHAFT_TYPES_INL_H_