| 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 #ifndef V8_REGISTER_ALLOCATOR_VERIFIER_H_ | 5 #ifndef V8_REGISTER_ALLOCATOR_VERIFIER_H_ |
| 6 #define V8_REGISTER_ALLOCATOR_VERIFIER_H_ | 6 #define V8_REGISTER_ALLOCATOR_VERIFIER_H_ |
| 7 | 7 |
| 8 #include "src/zone-containers.h" | 8 #include "src/zone-containers.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 kImmediate, | 28 kImmediate, |
| 29 kRegister, | 29 kRegister, |
| 30 kFixedRegister, | 30 kFixedRegister, |
| 31 kDoubleRegister, | 31 kDoubleRegister, |
| 32 kFixedDoubleRegister, | 32 kFixedDoubleRegister, |
| 33 kSlot, | 33 kSlot, |
| 34 kDoubleSlot, | 34 kDoubleSlot, |
| 35 kFixedSlot, | 35 kFixedSlot, |
| 36 kNone, | 36 kNone, |
| 37 kNoneDouble, | 37 kNoneDouble, |
| 38 kExplicit, |
| 38 kSameAsFirst | 39 kSameAsFirst |
| 39 }; | 40 }; |
| 40 | 41 |
| 41 struct OperandConstraint { | 42 struct OperandConstraint { |
| 42 ConstraintType type_; | 43 ConstraintType type_; |
| 43 int value_; // subkind index when relevant | 44 int value_; // subkind index when relevant |
| 44 int virtual_register_; | 45 int virtual_register_; |
| 45 }; | 46 }; |
| 46 | 47 |
| 47 struct InstructionConstraint { | 48 struct InstructionConstraint { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 76 Constraints constraints_; | 77 Constraints constraints_; |
| 77 | 78 |
| 78 DISALLOW_COPY_AND_ASSIGN(RegisterAllocatorVerifier); | 79 DISALLOW_COPY_AND_ASSIGN(RegisterAllocatorVerifier); |
| 79 }; | 80 }; |
| 80 | 81 |
| 81 } // namespace compiler | 82 } // namespace compiler |
| 82 } // namespace internal | 83 } // namespace internal |
| 83 } // namespace v8 | 84 } // namespace v8 |
| 84 | 85 |
| 85 #endif | 86 #endif |
| OLD | NEW |