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 #include "src/compiler/state-values-utils.h" | 9 #include "src/compiler/state-values-utils.h" |
10 | 10 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 return os << "(=" << unalloc->fixed_slot_index() << "S)"; | 88 return os << "(=" << unalloc->fixed_slot_index() << "S)"; |
89 } | 89 } |
90 switch (unalloc->extended_policy()) { | 90 switch (unalloc->extended_policy()) { |
91 case UnallocatedOperand::NONE: | 91 case UnallocatedOperand::NONE: |
92 return os; | 92 return os; |
93 case UnallocatedOperand::FIXED_REGISTER: | 93 case UnallocatedOperand::FIXED_REGISTER: |
94 return os << "(=" | 94 return os << "(=" |
95 << conf->GetGeneralRegisterName( | 95 << conf->GetGeneralRegisterName( |
96 unalloc->fixed_register_index()) | 96 unalloc->fixed_register_index()) |
97 << ")"; | 97 << ")"; |
98 case UnallocatedOperand::FIXED_DOUBLE_REGISTER: | 98 case UnallocatedOperand::FIXED_FP_REGISTER: |
99 return os << "(=" | 99 return os << "(=" |
100 << conf->GetDoubleRegisterName( | 100 << conf->GetDoubleRegisterName( |
101 unalloc->fixed_register_index()) | 101 unalloc->fixed_register_index()) |
102 << ")"; | 102 << ")"; |
103 case UnallocatedOperand::MUST_HAVE_REGISTER: | 103 case UnallocatedOperand::MUST_HAVE_REGISTER: |
104 return os << "(R)"; | 104 return os << "(R)"; |
105 case UnallocatedOperand::MUST_HAVE_SLOT: | 105 case UnallocatedOperand::MUST_HAVE_SLOT: |
106 return os << "(S)"; | 106 return os << "(S)"; |
107 case UnallocatedOperand::SAME_AS_FIRST_INPUT: | 107 case UnallocatedOperand::SAME_AS_FIRST_INPUT: |
108 return os << "(1)"; | 108 return os << "(1)"; |
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1026 } | 1026 } |
1027 for (int i = 0; i < code.InstructionBlockCount(); i++) { | 1027 for (int i = 0; i < code.InstructionBlockCount(); i++) { |
1028 printable.sequence_->PrintBlock(printable.register_configuration_, i); | 1028 printable.sequence_->PrintBlock(printable.register_configuration_, i); |
1029 } | 1029 } |
1030 return os; | 1030 return os; |
1031 } | 1031 } |
1032 | 1032 |
1033 } // namespace compiler | 1033 } // namespace compiler |
1034 } // namespace internal | 1034 } // namespace internal |
1035 } // namespace v8 | 1035 } // namespace v8 |
OLD | NEW |