[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineFunction.h
Evan Cheng
evan.cheng at apple.com
Wed Feb 14 18:56:08 PST 2007
Changes in directory llvm/include/llvm/CodeGen:
MachineFunction.h updated: 1.64 -> 1.65
---
Log message:
isPhysRegUsed should be const.
---
Diffs of the changes: (+1 -1)
MachineFunction.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/CodeGen/MachineFunction.h
diff -u llvm/include/llvm/CodeGen/MachineFunction.h:1.64 llvm/include/llvm/CodeGen/MachineFunction.h:1.65
--- llvm/include/llvm/CodeGen/MachineFunction.h:1.64 Fri Jan 26 15:22:27 2007
+++ llvm/include/llvm/CodeGen/MachineFunction.h Wed Feb 14 20:55:51 2007
@@ -184,7 +184,7 @@
/// isPhysRegUsed - Return true if the specified register is used in this
/// 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
/// allocation to keep the PhysRegsUsed array up-to-date.
More information about the llvm-commits
mailing list