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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 os << "[stack:" << StackSlotOperand::cast(op).index(); | 112 os << "[stack:" << StackSlotOperand::cast(op).index(); |
113 break; | 113 break; |
114 case AllocatedOperand::DOUBLE_STACK_SLOT: | 114 case AllocatedOperand::DOUBLE_STACK_SLOT: |
115 os << "[double_stack:" << DoubleStackSlotOperand::cast(op).index(); | 115 os << "[double_stack:" << DoubleStackSlotOperand::cast(op).index(); |
116 break; | 116 break; |
117 case AllocatedOperand::REGISTER: | 117 case AllocatedOperand::REGISTER: |
118 os << "[" << RegisterOperand::cast(op).GetRegister().ToString() | 118 os << "[" << RegisterOperand::cast(op).GetRegister().ToString() |
119 << "|R"; | 119 << "|R"; |
120 break; | 120 break; |
121 case AllocatedOperand::DOUBLE_REGISTER: | 121 case AllocatedOperand::DOUBLE_REGISTER: |
122 os << "[" << DoubleRegisterOperand::cast(op).GetRegister().ToString() | 122 os << "[" |
| 123 << DoubleRegisterOperand::cast(op).GetDoubleRegister().ToString() |
123 << "|R"; | 124 << "|R"; |
124 break; | 125 break; |
125 } | 126 } |
126 switch (allocated.machine_type()) { | 127 switch (allocated.machine_type()) { |
127 case kRepWord32: | 128 case kRepWord32: |
128 os << "|w32"; | 129 os << "|w32"; |
129 break; | 130 break; |
130 case kRepWord64: | 131 case kRepWord64: |
131 os << "|w64"; | 132 os << "|w64"; |
132 break; | 133 break; |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 os << " B" << succ.ToInt(); | 876 os << " B" << succ.ToInt(); |
876 } | 877 } |
877 os << "\n"; | 878 os << "\n"; |
878 } | 879 } |
879 return os; | 880 return os; |
880 } | 881 } |
881 | 882 |
882 } // namespace compiler | 883 } // namespace compiler |
883 } // namespace internal | 884 } // namespace internal |
884 } // namespace v8 | 885 } // namespace v8 |
OLD | NEW |