diff options
-rw-r--r-- | lib/CodeGen/RegAlloc/LiveRange.h | 1 | ||||
-rw-r--r-- | lib/Target/SparcV9/RegAlloc/LiveRange.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAlloc/LiveRange.h b/lib/CodeGen/RegAlloc/LiveRange.h index 3a88a27fa1..ddaf329e53 100644 --- a/lib/CodeGen/RegAlloc/LiveRange.h +++ b/lib/CodeGen/RegAlloc/LiveRange.h @@ -81,6 +81,7 @@ public: void setRegClass(RegClass *RC) { MyRegClass = RC; } RegClass *getRegClass() const { assert(MyRegClass); return MyRegClass; } + unsigned getRegClassID() const; bool hasColor() const { return Color != -1; } diff --git a/lib/Target/SparcV9/RegAlloc/LiveRange.h b/lib/Target/SparcV9/RegAlloc/LiveRange.h index 3a88a27fa1..ddaf329e53 100644 --- a/lib/Target/SparcV9/RegAlloc/LiveRange.h +++ b/lib/Target/SparcV9/RegAlloc/LiveRange.h @@ -81,6 +81,7 @@ public: void setRegClass(RegClass *RC) { MyRegClass = RC; } RegClass *getRegClass() const { assert(MyRegClass); return MyRegClass; } + unsigned getRegClassID() const; bool hasColor() const { return Color != -1; } |