diff options
author | Dan Gohman <gohman@apple.com> | 2008-10-16 01:49:15 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-10-16 01:49:15 +0000 |
commit | 46b948ea872c1d1853fc5be4af44794ef3ae7f63 (patch) | |
tree | b39ffe640aebc9d306c008272b7ab43bcd743f59 /lib/Target/ARM/ARMInstrInfo.h | |
parent | 871ecf198442e665177368fdb297cf2b9e98c71f (diff) | |
download | external_llvm-46b948ea872c1d1853fc5be4af44794ef3ae7f63.zip external_llvm-46b948ea872c1d1853fc5be4af44794ef3ae7f63.tar.gz external_llvm-46b948ea872c1d1853fc5be4af44794ef3ae7f63.tar.bz2 |
Const-ify several TargetInstrInfo methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.h')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.h b/lib/Target/ARM/ARMInstrInfo.h index cd19ae1..c59b03c 100644 --- a/lib/Target/ARM/ARMInstrInfo.h +++ b/lib/Target/ARM/ARMInstrInfo.h @@ -198,20 +198,20 @@ public: virtual MachineInstr* foldMemoryOperand(MachineFunction &MF, MachineInstr* MI, - SmallVectorImpl<unsigned> &Ops, + const SmallVectorImpl<unsigned> &Ops, int FrameIndex) const; virtual MachineInstr* foldMemoryOperand(MachineFunction &MF, MachineInstr* MI, - SmallVectorImpl<unsigned> &Ops, + const SmallVectorImpl<unsigned> &Ops, MachineInstr* LoadMI) const { return 0; } - virtual bool canFoldMemoryOperand(MachineInstr *MI, - SmallVectorImpl<unsigned> &Ops) const; + virtual bool canFoldMemoryOperand(const MachineInstr *MI, + const SmallVectorImpl<unsigned> &Ops) const; - virtual bool BlockHasNoFallThrough(MachineBasicBlock &MBB) const; + virtual bool BlockHasNoFallThrough(const MachineBasicBlock &MBB) const; virtual bool ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const; |