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

from the beginning of a MBB.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14074 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2004-06-08 18:52:47 +00:00
parent 777a1cde66
commit 0bbcd6bfd1

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); }