[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineBasicBlock.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Mar 31 15:59:00 PST 2004
Changes in directory llvm/include/llvm/CodeGen:
MachineBasicBlock.h updated: 1.22 -> 1.23
---
Log message:
MachineBasicBlock::remove should not change the iterator passed into it
---
Diffs of the changes: (+1 -1)
Index: llvm/include/llvm/CodeGen/MachineBasicBlock.h
diff -u llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.22 llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.23
--- llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.22 Mon Feb 23 12:14:48 2004
+++ llvm/include/llvm/CodeGen/MachineBasicBlock.h Wed Mar 31 15:58:50 2004
@@ -110,7 +110,7 @@
//
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;
More information about the llvm-commits
mailing list