summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsInstrInfo.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-11-18 19:49:32 +0000
committerDan Gohman <gohman@apple.com>2008-11-18 19:49:32 +0000
commit0b2732598c9beca83906644cdbb95040b7885aac (patch)
tree82210908d34142ebffcbd0b6a5ee2f2ea70028f6 /llvm/lib/Target/Mips/MipsInstrInfo.h
parent119f60e12a3acc1a82c08337a7f90436ab4b8012 (diff)
downloadbcm5719-llvm-0b2732598c9beca83906644cdbb95040b7885aac.tar.gz
bcm5719-llvm-0b2732598c9beca83906644cdbb95040b7885aac.zip
Add more const qualifiers. This fixes build breakage from r59540.
llvm-svn: 59542
Diffstat (limited to 'llvm/lib/Target/Mips/MipsInstrInfo.h')
-rw-r--r--llvm/lib/Target/Mips/MipsInstrInfo.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrInfo.h b/llvm/lib/Target/Mips/MipsInstrInfo.h
index 31e9cfaf7cb..b1c34bc4359 100644
--- a/llvm/lib/Target/Mips/MipsInstrInfo.h
+++ b/llvm/lib/Target/Mips/MipsInstrInfo.h
@@ -152,14 +152,16 @@ public:
/// the destination along with the FrameIndex of the loaded stack slot. If
/// not, return 0. This predicate must return 0 if the instruction has
/// any side effects other than loading from the stack slot.
- virtual unsigned isLoadFromStackSlot(MachineInstr *MI, int &FrameIndex) const;
+ virtual unsigned isLoadFromStackSlot(const MachineInstr *MI,
+ int &FrameIndex) const;
/// isStoreToStackSlot - If the specified machine instruction is a direct
/// store to a stack slot, return the virtual or physical register number of
/// the source reg along with the FrameIndex of the loaded stack slot. If
/// not, return 0. This predicate must return 0 if the instruction has
/// any side effects other than storing to the stack slot.
- virtual unsigned isStoreToStackSlot(MachineInstr *MI, int &FrameIndex) const;
+ virtual unsigned isStoreToStackSlot(const MachineInstr *MI,
+ int &FrameIndex) const;
/// Branch Analysis
virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
OpenPOWER on IntegriCloud