forked from OSchip/llvm-project
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:
parent
76b6426a8c
commit
78d03b523f
|
@ -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); }
|
||||
|
|
Loading…
Reference in New Issue