Changes in directory llvm/lib/Target/Sparc:

SparcRegisterInfo.td updated: 1.31 -> 1.32
---
Log message:

Constify some methods.  Patch provided by Anton Vayvod, thanks!


---
Diffs of the changes:  (+2 -2)

 SparcRegisterInfo.td |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/Sparc/SparcRegisterInfo.td
diff -u llvm/lib/Target/Sparc/SparcRegisterInfo.td:1.31 
llvm/lib/Target/Sparc/SparcRegisterInfo.td:1.32
--- llvm/lib/Target/Sparc/SparcRegisterInfo.td:1.31     Fri Mar 24 16:48:02 2006
+++ llvm/lib/Target/Sparc/SparcRegisterInfo.td  Thu Aug 17 17:00:08 2006
@@ -138,11 +138,11 @@
                                      G5, G6, G7 // reserved for kernel
                                      ]> {
   let MethodProtos = [{
-    iterator allocation_order_end(MachineFunction &MF) const;
+    iterator allocation_order_end(const MachineFunction &MF) const;
   }];
   let MethodBodies = [{
     IntRegsClass::iterator
-    IntRegsClass::allocation_order_end(MachineFunction &MF) const {
+    IntRegsClass::allocation_order_end(const MachineFunction &MF) const {
       // FIXME: These special regs should be taken out of the regclass!
       return end()-10  // Don't allocate special registers
          -1;  // FIXME: G1 reserved for large imm generation by frame code.



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

Reply via email to