[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCRegisterInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Thu Aug 17 15:00:33 PDT 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCRegisterInfo.td updated: 1.37 -> 1.38
---
Log message:
Constify some methods. Patch provided by Anton Vayvod, thanks!
---
Diffs of the changes: (+8 -8)
PPCRegisterInfo.td | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCRegisterInfo.td
diff -u llvm/lib/Target/PowerPC/PPCRegisterInfo.td:1.37 llvm/lib/Target/PowerPC/PPCRegisterInfo.td:1.38
--- llvm/lib/Target/PowerPC/PPCRegisterInfo.td:1.37 Fri Jun 16 13:50:48 2006
+++ llvm/lib/Target/PowerPC/PPCRegisterInfo.td Thu Aug 17 17:00:08 2006
@@ -209,16 +209,16 @@
R16, R15, R14, R13, R31, R0, R1, LR]>
{
let MethodProtos = [{
- iterator allocation_order_begin(MachineFunction &MF) const;
- iterator allocation_order_end(MachineFunction &MF) const;
+ iterator allocation_order_begin(const MachineFunction &MF) const;
+ iterator allocation_order_end(const MachineFunction &MF) const;
}];
let MethodBodies = [{
GPRCClass::iterator
- GPRCClass::allocation_order_begin(MachineFunction &MF) const {
+ GPRCClass::allocation_order_begin(const MachineFunction &MF) const {
return begin();
}
GPRCClass::iterator
- GPRCClass::allocation_order_end(MachineFunction &MF) const {
+ GPRCClass::allocation_order_end(const MachineFunction &MF) const {
if (hasFP(MF))
return end()-4; // don't allocate R31, R0, R1, LR
else
@@ -232,16 +232,16 @@
X16, X15, X14, X13, X31, X0, X1]>
{
let MethodProtos = [{
- iterator allocation_order_begin(MachineFunction &MF) const;
- iterator allocation_order_end(MachineFunction &MF) const;
+ iterator allocation_order_begin(const MachineFunction &MF) const;
+ iterator allocation_order_end(const MachineFunction &MF) const;
}];
let MethodBodies = [{
G8RCClass::iterator
- G8RCClass::allocation_order_begin(MachineFunction &MF) const {
+ G8RCClass::allocation_order_begin(const MachineFunction &MF) const {
return begin();
}
G8RCClass::iterator
- G8RCClass::allocation_order_end(MachineFunction &MF) const {
+ G8RCClass::allocation_order_end(const MachineFunction &MF) const {
if (hasFP(MF))
return end()-3;
else
More information about the llvm-commits
mailing list