aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-07-31 08:55:23 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-07-31 08:55:23 +0000
commit096f58b09adb03b5b060e12b327cff57329909f7 (patch)
tree8884d35de6dc3f577637cf1629f7fc3f130fa03a /include/llvm/Target
parent905f7af59cb85ea71b6c011f1e79f24f8db16efc (diff)
Remove const from iterators passed by value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index 90b7356b0d..a0b9e30368 100644
--- a/include/llvm/Target/TargetInstrInfo.h
+++ b/include/llvm/Target/TargetInstrInfo.h
@@ -161,7 +161,7 @@ public:
// Insert a goto (unconditional branch) sequence to MBB, right
// before MBBI
virtual void insertGoto(const MachineBasicBlock& MBB,
- const MachineBasicBlock::iterator MBBI) const {
+ MachineBasicBlock::iterator MBBI) const {
assert(0 && "Target didn't implement insertGoto!");
}
@@ -169,7 +169,7 @@ public:
// Reverses the branch condition of the MachineInstr pointed by
// MI. The instruction is replaced and the new MI is returned.
virtual MachineBasicBlock::iterator
- reverseBranchCondition(const MachineBasicBlock::iterator MI) const {
+ reverseBranchCondition(MachineBasicBlock::iterator MI) const {
assert(0 && "Target didn't implement reverseBranchCondition!");
}