forked from OSchip/llvm-project
Add insertAfter. This should have accompanied previous check-in.
llvm-svn: 114481
This commit is contained in:
parent
ea88e94318
commit
c3e4b141a3
|
@ -308,6 +308,9 @@ public:
|
|||
template<typename IT>
|
||||
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 insertAfter(iterator I, MachineInstr *M) {
|
||||
return Insts.insertAfter(I, M);
|
||||
}
|
||||
|
||||
// erase - Remove the specified element or range from the instruction list.
|
||||
// These functions delete any instructions removed.
|
||||
|
|
Loading…
Reference in New Issue