diff options
author | David Greene <greened@obbligato.org> | 2009-11-12 21:00:03 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-11-12 21:00:03 +0000 |
commit | b9c2fd964ee7dd7823ac71db8443055e4d0f1c15 (patch) | |
tree | 5cba73ecc3640f0bdb362c1654a04323ae165aef /lib/Target/SystemZ/SystemZRegisterInfo.h | |
parent | b87bc95db075dae3033a3c541b55b4cb711c332c (diff) | |
download | llvm-b9c2fd964ee7dd7823ac71db8443055e4d0f1c15.tar.gz llvm-b9c2fd964ee7dd7823ac71db8443055e4d0f1c15.tar.bz2 llvm-b9c2fd964ee7dd7823ac71db8443055e4d0f1c15.tar.xz |
Make the MachineFunction argument of getFrameRegister const.
This also fixes a build error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZRegisterInfo.h')
-rw-r--r-- | lib/Target/SystemZ/SystemZRegisterInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/SystemZRegisterInfo.h b/lib/Target/SystemZ/SystemZRegisterInfo.h index b22b05da40..93f6aee959 100644 --- a/lib/Target/SystemZ/SystemZRegisterInfo.h +++ b/lib/Target/SystemZ/SystemZRegisterInfo.h @@ -68,7 +68,7 @@ struct SystemZRegisterInfo : public SystemZGenRegisterInfo { // Debug information queries. unsigned getRARegister() const; - unsigned getFrameRegister(MachineFunction &MF) const; + unsigned getFrameRegister(const MachineFunction &MF) const; // Exception handling queries. unsigned getEHExceptionRegister() const; |