[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineBasicBlock.h
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Jun 8 13:54:08 PDT 2004
Changes in directory llvm/include/llvm/CodeGen:
MachineBasicBlock.h updated: 1.34 -> 1.35
---
Log message:
Add a forwarding method pop_front() that allows you to delete instructions
from the beginning of a MBB.
---
Diffs of the changes: (+1 -0)
Index: llvm/include/llvm/CodeGen/MachineBasicBlock.h
diff -u llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.34 llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.35
--- llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.34 Mon May 24 02:14:33 2004
+++ llvm/include/llvm/CodeGen/MachineBasicBlock.h Tue Jun 8 13:52:47 2004
@@ -146,6 +146,7 @@
/// it returns end()
iterator getFirstTerminator();
+ void pop_front() { Insts.pop_front(); }
void push_back(MachineInstr *MI) { Insts.push_back(MI); }
template<typename IT>
void insert(iterator I, IT S, IT E) { Insts.insert(I, S, E); }
More information about the llvm-commits
mailing list