mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
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:
parent
777a1cde66
commit
0bbcd6bfd1
@ -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
Block a user