| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_COMPILER_COMMON_OPERATOR_REDUCER_H_ | 5 #ifndef V8_COMPILER_COMMON_OPERATOR_REDUCER_H_ |
| 6 #define V8_COMPILER_COMMON_OPERATOR_REDUCER_H_ | 6 #define V8_COMPILER_COMMON_OPERATOR_REDUCER_H_ |
| 7 | 7 |
| 8 #include "src/compiler/graph-reducer.h" | 8 #include "src/compiler/graph-reducer.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 Reduction Change(Node* node, Operator const* op, Node* a); | 42 Reduction Change(Node* node, Operator const* op, Node* a); |
| 43 Reduction Change(Node* node, Operator const* op, Node* a, Node* b); | 43 Reduction Change(Node* node, Operator const* op, Node* a, Node* b); |
| 44 | 44 |
| 45 Graph* graph() const { return graph_; } | 45 Graph* graph() const { return graph_; } |
| 46 CommonOperatorBuilder* common() const { return common_; } | 46 CommonOperatorBuilder* common() const { return common_; } |
| 47 MachineOperatorBuilder* machine() const { return machine_; } | 47 MachineOperatorBuilder* machine() const { return machine_; } |
| 48 | 48 |
| 49 Graph* const graph_; | 49 Graph* const graph_; |
| 50 CommonOperatorBuilder* const common_; | 50 CommonOperatorBuilder* const common_; |
| 51 MachineOperatorBuilder* const machine_; | 51 MachineOperatorBuilder* const machine_; |
| 52 SetOncePointer<Node> dead_; |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 } // namespace compiler | 55 } // namespace compiler |
| 55 } // namespace internal | 56 } // namespace internal |
| 56 } // namespace v8 | 57 } // namespace v8 |
| 57 | 58 |
| 58 #endif // V8_COMPILER_COMMON_OPERATOR_REDUCER_H_ | 59 #endif // V8_COMPILER_COMMON_OPERATOR_REDUCER_H_ |
| OLD | NEW |