mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
MachineBasicBlock::remove should not change the iterator passed into it
llvm-svn: 12569
This commit is contained in:
parent
98c323dedd
commit
3f24ea6ccf
@ -110,7 +110,7 @@ public:
|
||||
//
|
||||
iterator erase(iterator I) { return Insts.erase(I); }
|
||||
iterator erase(iterator I, iterator E) { return Insts.erase(I, E); }
|
||||
MachineInstr* remove(iterator &I) { return Insts.remove(I); }
|
||||
MachineInstr *remove(MachineInstr *I) { return Insts.remove(I); }
|
||||
|
||||
// Debugging methods.
|
||||
void dump() const;
|
||||
|
Loading…
Reference in New Issue
Block a user