| 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/machine-operator-reducer.h" | 5 #include "src/compiler/machine-operator-reducer.h" |
| 6 | 6 |
| 7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
| 8 #include "src/base/division-by-constant.h" | 8 #include "src/base/division-by-constant.h" |
| 9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
| 10 #include "src/compiler/diamond.h" | 10 #include "src/compiler/diamond.h" |
| 11 #include "src/compiler/generic-node-inl.h" | |
| 12 #include "src/compiler/graph.h" | 11 #include "src/compiler/graph.h" |
| 13 #include "src/compiler/js-graph.h" | 12 #include "src/compiler/js-graph.h" |
| 14 #include "src/compiler/node-matchers.h" | 13 #include "src/compiler/node-matchers.h" |
| 15 | 14 |
| 16 namespace v8 { | 15 namespace v8 { |
| 17 namespace internal { | 16 namespace internal { |
| 18 namespace compiler { | 17 namespace compiler { |
| 19 | 18 |
| 20 MachineOperatorReducer::MachineOperatorReducer(JSGraph* jsgraph) | 19 MachineOperatorReducer::MachineOperatorReducer(JSGraph* jsgraph) |
| 21 : jsgraph_(jsgraph) {} | 20 : jsgraph_(jsgraph) {} |
| (...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 MachineOperatorBuilder* MachineOperatorReducer::machine() const { | 846 MachineOperatorBuilder* MachineOperatorReducer::machine() const { |
| 848 return jsgraph()->machine(); | 847 return jsgraph()->machine(); |
| 849 } | 848 } |
| 850 | 849 |
| 851 | 850 |
| 852 Graph* MachineOperatorReducer::graph() const { return jsgraph()->graph(); } | 851 Graph* MachineOperatorReducer::graph() const { return jsgraph()->graph(); } |
| 853 | 852 |
| 854 } // namespace compiler | 853 } // namespace compiler |
| 855 } // namespace internal | 854 } // namespace internal |
| 856 } // namespace v8 | 855 } // namespace v8 |
| OLD | NEW |