Add insertAfter. This should have accompanied previous check-in.

llvm-svn: 114481
This commit is contained in:
Devang Patel 2010-09-21 21:10:42 +00:00
parent ea88e94318
commit c3e4b141a3
1 changed files with 3 additions and 0 deletions

View File

@ -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.