summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/turboshaft/build-graph-phase.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/turboshaft/build-graph-phase.h')
-rw-r--r--deps/v8/src/compiler/turboshaft/build-graph-phase.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/deps/v8/src/compiler/turboshaft/build-graph-phase.h b/deps/v8/src/compiler/turboshaft/build-graph-phase.h
new file mode 100644
index 0000000000..3c49de7aa9
--- /dev/null
+++ b/deps/v8/src/compiler/turboshaft/build-graph-phase.h
@@ -0,0 +1,23 @@
+// Copyright 2023 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_COMPILER_TURBOSHAFT_BUILD_GRAPH_PHASE_H_
+#define V8_COMPILER_TURBOSHAFT_BUILD_GRAPH_PHASE_H_
+
+#include "src/codegen/bailout-reason.h"
+#include "src/compiler/linkage.h"
+#include "src/compiler/turboshaft/phase.h"
+
+namespace v8::internal::compiler::turboshaft {
+
+struct BuildGraphPhase {
+ DECL_TURBOSHAFT_PHASE_CONSTANTS(BuildGraph)
+
+ base::Optional<BailoutReason> Run(PipelineData* data, Zone* temp_zone,
+ Linkage* linkage);
+};
+
+} // namespace v8::internal::compiler::turboshaft
+
+#endif // V8_COMPILER_TURBOSHAFT_BUILD_GRAPH_PHASE_H_