llvm.org GIT mirror llvm / 3cd4c89
isPhysRegUsed should be const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34295 91177308-0d34-0410-b5e6-96231b3b80d8 Evan Cheng 13 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
183183
184184 /// isPhysRegUsed - Return true if the specified register is used in this
185185 /// function. This only works after register allocation.
186 bool isPhysRegUsed(unsigned Reg) { return UsedPhysRegs[Reg]; }
186 bool isPhysRegUsed(unsigned Reg) const { return UsedPhysRegs[Reg]; }
187187
188188 /// changePhyRegUsed - This method allows code that runs after register
189189 /// allocation to keep the PhysRegsUsed array up-to-date.