Add a forwarding method pop_front() that allows you to delete instructions

from the beginning of a MBB.

llvm-svn: 14074
This commit is contained in:
Brian Gaeke 2004-06-08 18:52:47 +00:00
parent 76b6426a8c
commit 78d03b523f
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ public:
/// 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); }