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/generic-node-inl.h" |
10 #include "src/compiler/graph.h" | 11 #include "src/compiler/graph.h" |
11 #include "src/compiler/js-graph.h" | 12 #include "src/compiler/js-graph.h" |
12 #include "src/compiler/node-matchers.h" | 13 #include "src/compiler/node-matchers.h" |
13 | 14 |
14 namespace v8 { | 15 namespace v8 { |
15 namespace internal { | 16 namespace internal { |
16 namespace compiler { | 17 namespace compiler { |
17 | 18 |
18 MachineOperatorReducer::MachineOperatorReducer(JSGraph* jsgraph) | 19 MachineOperatorReducer::MachineOperatorReducer(JSGraph* jsgraph) |
19 : jsgraph_(jsgraph) {} | 20 : jsgraph_(jsgraph) {} |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 MachineOperatorBuilder* MachineOperatorReducer::machine() const { | 706 MachineOperatorBuilder* MachineOperatorReducer::machine() const { |
706 return jsgraph()->machine(); | 707 return jsgraph()->machine(); |
707 } | 708 } |
708 | 709 |
709 | 710 |
710 Graph* MachineOperatorReducer::graph() const { return jsgraph()->graph(); } | 711 Graph* MachineOperatorReducer::graph() const { return jsgraph()->graph(); } |
711 | 712 |
712 } // namespace compiler | 713 } // namespace compiler |
713 } // namespace internal | 714 } // namespace internal |
714 } // namespace v8 | 715 } // namespace v8 |
OLD | NEW |