Add an accessor.

llvm-svn: 19794
This commit is contained in:
Chris Lattner 2005-01-23 22:57:27 +00:00
parent 3d527f7b61
commit 90b491f46a
1 changed files with 2 additions and 1 deletions

View File

@ -154,7 +154,8 @@ public:
/// getUsedPhysregs - This returns the UsedPhysRegs array. This returns null
/// before register allocation.
const bool *getUsedPhysregs() { return UsedPhysRegs; }
bool *getUsedPhysregs() { return UsedPhysRegs; }
const bool *getUsedPhysregs() const { return UsedPhysRegs; }
/// isPhysRegUsed - Return true if the specified register is used in this
/// function. This only works after register allocation.