1
0
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:
Chris Lattner 2004-03-31 21:58:50 +00:00
parent 98c323dedd
commit 3f24ea6ccf

View File

@ -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;