mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Remove const from iterators passed by value.
llvm-svn: 15359
This commit is contained in:
parent
2ca8d29454
commit
6308a8a8e0
@ -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!");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user