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 15 matching lines...) Expand all Loading... |
26 case UnallocatedOperand::NONE: | 26 case UnallocatedOperand::NONE: |
27 return os; | 27 return os; |
28 case UnallocatedOperand::FIXED_REGISTER: | 28 case UnallocatedOperand::FIXED_REGISTER: |
29 return os << "(=" << conf->general_register_name( | 29 return os << "(=" << conf->general_register_name( |
30 unalloc->fixed_register_index()) << ")"; | 30 unalloc->fixed_register_index()) << ")"; |
31 case UnallocatedOperand::FIXED_DOUBLE_REGISTER: | 31 case UnallocatedOperand::FIXED_DOUBLE_REGISTER: |
32 return os << "(=" << conf->double_register_name( | 32 return os << "(=" << conf->double_register_name( |
33 unalloc->fixed_register_index()) << ")"; | 33 unalloc->fixed_register_index()) << ")"; |
34 case UnallocatedOperand::MUST_HAVE_REGISTER: | 34 case UnallocatedOperand::MUST_HAVE_REGISTER: |
35 return os << "(R)"; | 35 return os << "(R)"; |
| 36 case UnallocatedOperand::MUST_HAVE_SLOT: |
| 37 return os << "(S)"; |
36 case UnallocatedOperand::SAME_AS_FIRST_INPUT: | 38 case UnallocatedOperand::SAME_AS_FIRST_INPUT: |
37 return os << "(1)"; | 39 return os << "(1)"; |
38 case UnallocatedOperand::ANY: | 40 case UnallocatedOperand::ANY: |
39 return os << "(-)"; | 41 return os << "(-)"; |
40 } | 42 } |
41 } | 43 } |
42 case InstructionOperand::CONSTANT: | 44 case InstructionOperand::CONSTANT: |
43 return os << "[constant:" << op.index() << "]"; | 45 return os << "[constant:" << op.index() << "]"; |
44 case InstructionOperand::IMMEDIATE: | 46 case InstructionOperand::IMMEDIATE: |
45 return os << "[immediate:" << op.index() << "]"; | 47 return os << "[immediate:" << op.index() << "]"; |
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 os << " B" << succ.ToInt(); | 732 os << " B" << succ.ToInt(); |
731 } | 733 } |
732 os << "\n"; | 734 os << "\n"; |
733 } | 735 } |
734 return os; | 736 return os; |
735 } | 737 } |
736 | 738 |
737 } // namespace compiler | 739 } // namespace compiler |
738 } // namespace internal | 740 } // namespace internal |
739 } // namespace v8 | 741 } // namespace v8 |
OLD | NEW |