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