1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

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 a6b9c79c24
commit 904f538a7a

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.