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/Blackfin/BlackfinRegisterInfo.h | |
parent | b87bc95db075dae3033a3c541b55b4cb711c332c (diff) | |
download | external_llvm-b9c2fd964ee7dd7823ac71db8443055e4d0f1c15.zip external_llvm-b9c2fd964ee7dd7823ac71db8443055e4d0f1c15.tar.gz external_llvm-b9c2fd964ee7dd7823ac71db8443055e4d0f1c15.tar.bz2 |
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/Blackfin/BlackfinRegisterInfo.h')
-rw-r--r-- | lib/Target/Blackfin/BlackfinRegisterInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Blackfin/BlackfinRegisterInfo.h b/lib/Target/Blackfin/BlackfinRegisterInfo.h index 501f504..68ef08a 100644 --- a/lib/Target/Blackfin/BlackfinRegisterInfo.h +++ b/lib/Target/Blackfin/BlackfinRegisterInfo.h @@ -76,7 +76,7 @@ namespace llvm { void emitPrologue(MachineFunction &MF) const; void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const; - unsigned getFrameRegister(MachineFunction &MF) const; + unsigned getFrameRegister(const MachineFunction &MF) const; unsigned getRARegister() const; // Exception handling queries. |