mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-01 15:40:53 +00:00
Add new method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5309 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a9dcd3cceb
commit
c520feb6f0
@ -81,6 +81,7 @@ public:
|
|||||||
void setRegClass(RegClass *RC) { MyRegClass = RC; }
|
void setRegClass(RegClass *RC) { MyRegClass = RC; }
|
||||||
|
|
||||||
RegClass *getRegClass() const { assert(MyRegClass); return MyRegClass; }
|
RegClass *getRegClass() const { assert(MyRegClass); return MyRegClass; }
|
||||||
|
unsigned getRegClassID() const;
|
||||||
|
|
||||||
bool hasColor() const { return Color != -1; }
|
bool hasColor() const { return Color != -1; }
|
||||||
|
|
||||||
|
@ -81,6 +81,7 @@ public:
|
|||||||
void setRegClass(RegClass *RC) { MyRegClass = RC; }
|
void setRegClass(RegClass *RC) { MyRegClass = RC; }
|
||||||
|
|
||||||
RegClass *getRegClass() const { assert(MyRegClass); return MyRegClass; }
|
RegClass *getRegClass() const { assert(MyRegClass); return MyRegClass; }
|
||||||
|
unsigned getRegClassID() const;
|
||||||
|
|
||||||
bool hasColor() const { return Color != -1; }
|
bool hasColor() const { return Color != -1; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user