diff options
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r-- | lib/Target/Sparc/SparcRegisterInfo.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcRegisterInfo.td b/lib/Target/Sparc/SparcRegisterInfo.td index b9bf1bd75b..11251e9258 100644 --- a/lib/Target/Sparc/SparcRegisterInfo.td +++ b/lib/Target/Sparc/SparcRegisterInfo.td @@ -138,11 +138,11 @@ def IntRegs : RegisterClass<"SP", [i32], 32, [L0, L1, L2, L3, L4, L5, L6, L7, 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. |