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