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/instruction.h" | 5 #include "src/compiler/instruction.h" |
6 | 6 |
7 #include "src/compiler/common-operator.h" | 7 #include "src/compiler/common-operator.h" |
| 8 #include "src/compiler/generic-node-inl.h" |
8 #include "src/compiler/graph.h" | 9 #include "src/compiler/graph.h" |
9 | 10 |
10 namespace v8 { | 11 namespace v8 { |
11 namespace internal { | 12 namespace internal { |
12 namespace compiler { | 13 namespace compiler { |
13 | 14 |
14 std::ostream& operator<<(std::ostream& os, const InstructionOperand& op) { | 15 std::ostream& operator<<(std::ostream& os, const InstructionOperand& op) { |
15 switch (op.kind()) { | 16 switch (op.kind()) { |
16 case InstructionOperand::INVALID: | 17 case InstructionOperand::INVALID: |
17 return os << "(0)"; | 18 return os << "(0)"; |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 os << " B" << succ_block->id(); | 651 os << " B" << succ_block->id(); |
651 } | 652 } |
652 os << "\n"; | 653 os << "\n"; |
653 } | 654 } |
654 return os; | 655 return os; |
655 } | 656 } |
656 | 657 |
657 } // namespace compiler | 658 } // namespace compiler |
658 } // namespace internal | 659 } // namespace internal |
659 } // namespace v8 | 660 } // namespace v8 |
OLD | NEW |