| 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/access-builder.h" | 7 #include "src/compiler/access-builder.h" |
| 8 #include "src/compiler/js-graph.h" | 8 #include "src/compiler/js-graph.h" |
| 9 #include "src/compiler/machine-operator.h" | 9 #include "src/compiler/machine-operator.h" |
| 10 #include "src/compiler/node-matchers.h" | 10 #include "src/compiler/node-matchers.h" |
| 11 #include "src/compiler/node-properties-inl.h" | 11 #include "src/compiler/node-properties.h" |
| 12 #include "src/compiler/operator-properties.h" |
| 12 | 13 |
| 13 namespace v8 { | 14 namespace v8 { |
| 14 namespace internal { | 15 namespace internal { |
| 15 namespace compiler { | 16 namespace compiler { |
| 16 | 17 |
| 17 SimplifiedOperatorReducer::SimplifiedOperatorReducer(JSGraph* jsgraph) | 18 SimplifiedOperatorReducer::SimplifiedOperatorReducer(JSGraph* jsgraph) |
| 18 : jsgraph_(jsgraph), simplified_(jsgraph->zone()) {} | 19 : jsgraph_(jsgraph), simplified_(jsgraph->zone()) {} |
| 19 | 20 |
| 20 | 21 |
| 21 SimplifiedOperatorReducer::~SimplifiedOperatorReducer() {} | 22 SimplifiedOperatorReducer::~SimplifiedOperatorReducer() {} |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 } | 180 } |
| 180 | 181 |
| 181 | 182 |
| 182 MachineOperatorBuilder* SimplifiedOperatorReducer::machine() const { | 183 MachineOperatorBuilder* SimplifiedOperatorReducer::machine() const { |
| 183 return jsgraph()->machine(); | 184 return jsgraph()->machine(); |
| 184 } | 185 } |
| 185 | 186 |
| 186 } // namespace compiler | 187 } // namespace compiler |
| 187 } // namespace internal | 188 } // namespace internal |
| 188 } // namespace v8 | 189 } // namespace v8 |
| OLD | NEW |