Add an accessor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19794 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-01-23 22:57:27 +00:00
parent 786116337e
commit 471f09090d

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.