diff options
author | Chris Lattner <sabre@nondot.org> | 2003-01-15 20:28:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-01-15 20:28:36 +0000 |
commit | c520feb6f03d1fded623f81a71f6625728ebfab8 (patch) | |
tree | 94cc08566eaca60f447e2a4264b3394268b5e5e5 /lib/CodeGen | |
parent | a9dcd3cceb644934b5182990be5044745734e885 (diff) |
Add new method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/RegAlloc/LiveRange.h | 1 |
1 files changed, 1 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; } |