mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Add insertAfter. This should have accompanied previous check-in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114481 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -308,6 +308,9 @@ public:
|
|||||||
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); }
|
||||||
iterator insert(iterator I, MachineInstr *M) { return Insts.insert(I, M); }
|
iterator insert(iterator I, MachineInstr *M) { return Insts.insert(I, M); }
|
||||||
|
iterator insertAfter(iterator I, MachineInstr *M) {
|
||||||
|
return Insts.insertAfter(I, M);
|
||||||
|
}
|
||||||
|
|
||||||
// erase - Remove the specified element or range from the instruction list.
|
// erase - Remove the specified element or range from the instruction list.
|
||||||
// These functions delete any instructions removed.
|
// These functions delete any instructions removed.
|
||||||
|
Reference in New Issue
Block a user