diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-07-31 08:55:23 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-07-31 08:55:23 +0000 |
commit | 91eae7e3d24bf848b8d119eda5c0359f1facd4c2 (patch) | |
tree | 4f63daf48655702f059b6b65ad1d06e90d53ad8d /llvm/include | |
parent | 12312ecfefa59640b140e154298380d8bf23dd7d (diff) | |
download | llvm-91eae7e3d24bf848b8d119eda5c0359f1facd4c2.zip llvm-91eae7e3d24bf848b8d119eda5c0359f1facd4c2.tar.gz llvm-91eae7e3d24bf848b8d119eda5c0359f1facd4c2.tar.bz2 |
Remove const from iterators passed by value.
llvm-svn: 15359
Diffstat (limited to 'llvm/include')
-rw-r--r-- | llvm/include/llvm/Target/TargetInstrInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Target/TargetInstrInfo.h b/llvm/include/llvm/Target/TargetInstrInfo.h index 90b7356..a0b9e3036 100644 --- a/llvm/include/llvm/Target/TargetInstrInfo.h +++ b/llvm/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!"); } |