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/Mips/MipsRegisterInfo.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/Mips/MipsRegisterInfo.h')
-rw-r--r-- | lib/Target/Mips/MipsRegisterInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsRegisterInfo.h b/lib/Target/Mips/MipsRegisterInfo.h index 122f786656..5b4592193f 100644 --- a/lib/Target/Mips/MipsRegisterInfo.h +++ b/lib/Target/Mips/MipsRegisterInfo.h @@ -65,7 +65,7 @@ struct MipsRegisterInfo : public MipsGenRegisterInfo { /// Debug information queries. unsigned getRARegister() const; - unsigned getFrameRegister(MachineFunction &MF) const; + unsigned getFrameRegister(const MachineFunction &MF) const; /// Exception handling queries. unsigned getEHExceptionRegister() const; |