Use MCPhysReg for RegisterClassInfo allocation orders.
[oota-llvm.git] / lib / CodeGen / AllocationOrder.h
index 0ce7e0c3b5f687da732c5230f484f2b0c2e816ac..862a3ee1923fde00570da34c2b3a886d2b84ec35 100644 (file)
 #ifndef LLVM_CODEGEN_ALLOCATIONORDER_H
 #define LLVM_CODEGEN_ALLOCATIONORDER_H
 
+#include "llvm/MC/MCRegisterInfo.h"
+
 namespace llvm {
 
 class RegisterClassInfo;
 class VirtRegMap;
 
 class AllocationOrder {
-  const unsigned *Begin;
-  const unsigned *End;
-  const unsigned *Pos;
+  const MCPhysReg *Begin;
+  const MCPhysReg *End;
+  const MCPhysReg *Pos;
   const RegisterClassInfo &RCI;
   unsigned Hint;
   bool OwnedBegin;