From: Alkis Evlogimenos Date: Sat, 31 Jul 2004 08:55:23 +0000 (+0000) Subject: Remove const from iterators passed by value. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=096f58b09adb03b5b060e12b327cff57329909f7;p=oota-llvm.git Remove const from iterators passed by value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15359 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 90b7356b0db..a0b9e303686 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!"); }