| 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 #include "src/compiler/simplified-operator-reducer.h" | 5 #include "src/compiler/simplified-operator-reducer.h" |
| 6 | 6 |
| 7 #include "src/compiler/js-graph.h" | 7 #include "src/compiler/js-graph.h" |
| 8 #include "src/compiler/machine-operator.h" | 8 #include "src/compiler/machine-operator.h" |
| 9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
| 10 #include "src/compiler/operator-properties.h" | 10 #include "src/compiler/operator-properties.h" |
| 11 #include "src/conversions-inl.h" |
| 11 | 12 |
| 12 namespace v8 { | 13 namespace v8 { |
| 13 namespace internal { | 14 namespace internal { |
| 14 namespace compiler { | 15 namespace compiler { |
| 15 | 16 |
| 16 SimplifiedOperatorReducer::SimplifiedOperatorReducer(JSGraph* jsgraph) | 17 SimplifiedOperatorReducer::SimplifiedOperatorReducer(JSGraph* jsgraph) |
| 17 : jsgraph_(jsgraph), simplified_(jsgraph->zone()) {} | 18 : jsgraph_(jsgraph), simplified_(jsgraph->zone()) {} |
| 18 | 19 |
| 19 | 20 |
| 20 SimplifiedOperatorReducer::~SimplifiedOperatorReducer() {} | 21 SimplifiedOperatorReducer::~SimplifiedOperatorReducer() {} |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 Graph* SimplifiedOperatorReducer::graph() const { return jsgraph()->graph(); } | 129 Graph* SimplifiedOperatorReducer::graph() const { return jsgraph()->graph(); } |
| 129 | 130 |
| 130 | 131 |
| 131 MachineOperatorBuilder* SimplifiedOperatorReducer::machine() const { | 132 MachineOperatorBuilder* SimplifiedOperatorReducer::machine() const { |
| 132 return jsgraph()->machine(); | 133 return jsgraph()->machine(); |
| 133 } | 134 } |
| 134 | 135 |
| 135 } // namespace compiler | 136 } // namespace compiler |
| 136 } // namespace internal | 137 } // namespace internal |
| 137 } // namespace v8 | 138 } // namespace v8 |
| OLD | NEW |