mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +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()
|
/// it returns end()
|
||||||
iterator getFirstTerminator();
|
iterator getFirstTerminator();
|
||||||
|
|
||||||
|
void pop_front() { Insts.pop_front(); }
|
||||||
void push_back(MachineInstr *MI) { Insts.push_back(MI); }
|
void push_back(MachineInstr *MI) { Insts.push_back(MI); }
|
||||||
template<typename IT>
|
template<typename IT>
|
||||||
void insert(iterator I, IT S, IT E) { Insts.insert(I, S, E); }
|
void insert(iterator I, IT S, IT E) { Insts.insert(I, S, E); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user