1 // Copyright 2014 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.
5 #ifndef V8_COMPILER_COMMON_OPERATOR_REDUCER_H_
6 #define V8_COMPILER_COMMON_OPERATOR_REDUCER_H_
8 #include "src/compiler/graph-reducer.h"
14 // Performs strength reduction on nodes that have common operators.
15 class CommonOperatorReducer FINAL : public Reducer {
17 CommonOperatorReducer() {}
18 ~CommonOperatorReducer() FINAL {}
20 Reduction Reduce(Node* node) FINAL;
23 } // namespace compiler
24 } // namespace internal
27 #endif // V8_COMPILER_COMMON_OPERATOR_REDUCER_H_