| 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/common-operator.h" | 5 #include "src/compiler/common-operator.h" |
| 6 #include "src/compiler/graph.h" | 6 #include "src/compiler/graph.h" |
| 7 #include "src/compiler/instruction.h" | 7 #include "src/compiler/instruction.h" |
| 8 #include "src/compiler/schedule.h" | 8 #include "src/compiler/schedule.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 break; | 88 break; |
| 89 case kRepTagged: | 89 case kRepTagged: |
| 90 os << "|t"; | 90 os << "|t"; |
| 91 break; | 91 break; |
| 92 default: | 92 default: |
| 93 os << "|?"; | 93 os << "|?"; |
| 94 break; | 94 break; |
| 95 } | 95 } |
| 96 return os << "]"; | 96 return os << "]"; |
| 97 } | 97 } |
| 98 case InstructionOperand::STACK_POINTER: |
| 99 return os << "[stack_pointer]"; |
| 100 case InstructionOperand::FRAME_POINTER: |
| 101 return os << "[frame_pointer]"; |
| 98 case InstructionOperand::INVALID: | 102 case InstructionOperand::INVALID: |
| 99 return os << "(x)"; | 103 return os << "(x)"; |
| 100 } | 104 } |
| 101 UNREACHABLE(); | 105 UNREACHABLE(); |
| 102 return os; | 106 return os; |
| 103 } | 107 } |
| 104 | 108 |
| 105 | 109 |
| 106 std::ostream& operator<<(std::ostream& os, | 110 std::ostream& operator<<(std::ostream& os, |
| 107 const PrintableMoveOperands& printable) { | 111 const PrintableMoveOperands& printable) { |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 808 os << " B" << succ.ToInt(); | 812 os << " B" << succ.ToInt(); |
| 809 } | 813 } |
| 810 os << "\n"; | 814 os << "\n"; |
| 811 } | 815 } |
| 812 return os; | 816 return os; |
| 813 } | 817 } |
| 814 | 818 |
| 815 } // namespace compiler | 819 } // namespace compiler |
| 816 } // namespace internal | 820 } // namespace internal |
| 817 } // namespace v8 | 821 } // namespace v8 |
| OLD | NEW |