| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 | 168 |
| 169 void VerifyAssignment(); | 169 void VerifyAssignment(); |
| 170 void VerifyGapMoves(); | 170 void VerifyGapMoves(); |
| 171 | 171 |
| 172 private: | 172 private: |
| 173 enum ConstraintType { | 173 enum ConstraintType { |
| 174 kConstant, | 174 kConstant, |
| 175 kImmediate, | 175 kImmediate, |
| 176 kRegister, | 176 kRegister, |
| 177 kFixedRegister, | 177 kFixedRegister, |
| 178 kDoubleRegister, | 178 kFPRegister, |
| 179 kFixedDoubleRegister, | 179 kFixedFPRegister, |
| 180 kSlot, | 180 kSlot, |
| 181 kDoubleSlot, | 181 kFPSlot, |
| 182 kFixedSlot, | 182 kFixedSlot, |
| 183 kNone, | 183 kNone, |
| 184 kNoneDouble, | 184 kNoneFP, |
| 185 kExplicit, | 185 kExplicit, |
| 186 kSameAsFirst, | 186 kSameAsFirst, |
| 187 kRegisterAndSlot | 187 kRegisterAndSlot |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 struct OperandConstraint { | 190 struct OperandConstraint { |
| 191 ConstraintType type_; | 191 ConstraintType type_; |
| 192 int value_; // subkind index when relevant | 192 int value_; // subkind index when relevant |
| 193 int spilled_slot_; | 193 int spilled_slot_; |
| 194 int virtual_register_; | 194 int virtual_register_; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 ZoneMap<RpoNumber, DelayedAssessments*> outstanding_assessments_; | 257 ZoneMap<RpoNumber, DelayedAssessments*> outstanding_assessments_; |
| 258 | 258 |
| 259 DISALLOW_COPY_AND_ASSIGN(RegisterAllocatorVerifier); | 259 DISALLOW_COPY_AND_ASSIGN(RegisterAllocatorVerifier); |
| 260 }; | 260 }; |
| 261 | 261 |
| 262 } // namespace compiler | 262 } // namespace compiler |
| 263 } // namespace internal | 263 } // namespace internal |
| 264 } // namespace v8 | 264 } // namespace v8 |
| 265 | 265 |
| 266 #endif | 266 #endif |
| OLD | NEW |