[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcRegisterInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Thu Aug 17 15:00:32 PDT 2006
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.
More information about the llvm-commits
mailing list