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.



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to