summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-15 20:28:36 +0000
committerChris Lattner <sabre@nondot.org>2003-01-15 20:28:36 +0000
commitc75dc4856e271697f2a25fb26af0846df09f4f0a (patch)
treee2fe9e867ac2d73a600b843c1209183d8b6d515b /llvm/lib/CodeGen
parent8e3df8ea3436b8761b3ae9cb6846f82ceb2ac409 (diff)
downloadbcm5719-llvm-c75dc4856e271697f2a25fb26af0846df09f4f0a.tar.gz
bcm5719-llvm-c75dc4856e271697f2a25fb26af0846df09f4f0a.zip
Add new method
llvm-svn: 5309
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/LiveRange.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRange.h b/llvm/lib/CodeGen/RegAlloc/LiveRange.h
index 3a88a27fa1f..ddaf329e53b 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; }
OpenPOWER on IntegriCloud