diff options
Diffstat (limited to 'deps/v8/src/compiler/turboshaft/dead-code-elimination-phase.h')
-rw-r--r-- | deps/v8/src/compiler/turboshaft/dead-code-elimination-phase.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/deps/v8/src/compiler/turboshaft/dead-code-elimination-phase.h b/deps/v8/src/compiler/turboshaft/dead-code-elimination-phase.h new file mode 100644 index 0000000000..edd95c4b99 --- /dev/null +++ b/deps/v8/src/compiler/turboshaft/dead-code-elimination-phase.h @@ -0,0 +1,20 @@ +// 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_DEAD_CODE_ELIMINATION_PHASE_H_ +#define V8_COMPILER_TURBOSHAFT_DEAD_CODE_ELIMINATION_PHASE_H_ + +#include "src/compiler/turboshaft/phase.h" + +namespace v8::internal::compiler::turboshaft { + +struct DeadCodeEliminationPhase { + DECL_TURBOSHAFT_PHASE_CONSTANTS(DeadCodeElimination) + + void Run(PipelineData* data, Zone* temp_zone); +}; + +} // namespace v8::internal::compiler::turboshaft + +#endif // V8_COMPILER_TURBOSHAFT_DEAD_CODE_ELIMINATION_PHASE_H_ |