mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
isPhysRegUsed should be const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34295 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d1172cc056
commit
3cd4c892d9
@ -184,7 +184,7 @@ public:
|
|||||||
|
|
||||||
/// isPhysRegUsed - Return true if the specified register is used in this
|
/// isPhysRegUsed - Return true if the specified register is used in this
|
||||||
/// function. This only works after register allocation.
|
/// function. This only works after register allocation.
|
||||||
bool isPhysRegUsed(unsigned Reg) { return UsedPhysRegs[Reg]; }
|
bool isPhysRegUsed(unsigned Reg) const { return UsedPhysRegs[Reg]; }
|
||||||
|
|
||||||
/// changePhyRegUsed - This method allows code that runs after register
|
/// changePhyRegUsed - This method allows code that runs after register
|
||||||
/// allocation to keep the PhysRegsUsed array up-to-date.
|
/// allocation to keep the PhysRegsUsed array up-to-date.
|
||||||
|
Loading…
Reference in New Issue
Block a user