aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SystemZ
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-07-20 06:52:21 +0000
committerEric Christopher <echristo@apple.com>2010-07-20 06:52:21 +0000
commit72852a8cfb605056d87b644d2e36b1346051413d (patch)
tree8b5e5b548e73faf5a751d824669390242f01405e /lib/Target/SystemZ
parente8a469cdb400249ec263c79d1021f953f42f2760 (diff)
downloadexternal_llvm-72852a8cfb605056d87b644d2e36b1346051413d.zip
external_llvm-72852a8cfb605056d87b644d2e36b1346051413d.tar.gz
external_llvm-72852a8cfb605056d87b644d2e36b1346051413d.tar.bz2
Constify some arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ')
-rw-r--r--lib/Target/SystemZ/SystemZRegisterInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/SystemZRegisterInfo.h b/lib/Target/SystemZ/SystemZRegisterInfo.h
index 670025f..037be7f 100644
--- a/lib/Target/SystemZ/SystemZRegisterInfo.h
+++ b/lib/Target/SystemZ/SystemZRegisterInfo.h
@@ -34,7 +34,7 @@ struct SystemZRegisterInfo : public SystemZGenRegisterInfo {
BitVector getReservedRegs(const MachineFunction &MF) const;
- bool hasReservedCallFrame(MachineFunction &MF) const { return true; }
+ bool hasReservedCallFrame(const MachineFunction &MF) const { return true; }
bool hasFP(const MachineFunction &MF) const;
int getFrameIndexOffset(const MachineFunction &MF, int FI) const;