summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-26 23:15:09 +0000
committerChris Lattner <sabre@nondot.org>2010-01-26 23:15:09 +0000
commitf13e5f73236c92d5f273ef98714b44a1c0d4a1af (patch)
tree5d67d0dcaf34f9fb6873c7da509463b815b0776f /llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
parentc35b5a123bd1395fc5af4ecb1359e9042a45ff21 (diff)
downloadbcm5719-llvm-f13e5f73236c92d5f273ef98714b44a1c0d4a1af.tar.gz
bcm5719-llvm-f13e5f73236c92d5f273ef98714b44a1c0d4a1af.zip
constify a method argument.
llvm-svn: 94612
Diffstat (limited to 'llvm/lib/Target/ARM/ARMBaseRegisterInfo.h')
-rw-r--r--llvm/lib/Target/ARM/ARMBaseRegisterInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
index f5ca25c1e30..33ba21dcb8f 100644
--- a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
+++ b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
@@ -107,9 +107,9 @@ public:
// Debug information queries.
unsigned getRARegister() const;
unsigned getFrameRegister(const MachineFunction &MF) const;
- int getFrameIndexReference(MachineFunction &MF, int FI,
+ int getFrameIndexReference(const MachineFunction &MF, int FI,
unsigned &FrameReg) const;
- int getFrameIndexOffset(MachineFunction &MF, int FI) const;
+ int getFrameIndexOffset(const MachineFunction &MF, int FI) const;
// Exception handling queries.
unsigned getEHExceptionRegister() const;
OpenPOWER on IntegriCloud