diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRange.h b/llvm/lib/CodeGen/RegAlloc/LiveRange.h index 3a88a27fa1ff..ddaf329e53b4 100644 --- a/llvm/lib/CodeGen/RegAlloc/LiveRange.h +++ b/llvm/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; }