diff options
| author | Devang Patel <dpatel@apple.com> | 2010-09-21 21:10:42 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2010-09-21 21:10:42 +0000 |
| commit | c3e4b141a31321d111164269c518f01e8ed8d904 (patch) | |
| tree | cae99dc09c044eb6422abc5224d447726fcac9f8 /llvm | |
| parent | ea88e94318492db7c29808a145daa0653a1feae5 (diff) | |
| download | bcm5719-llvm-c3e4b141a31321d111164269c518f01e8ed8d904.tar.gz bcm5719-llvm-c3e4b141a31321d111164269c518f01e8ed8d904.zip | |
Add insertAfter. This should have accompanied previous check-in.
llvm-svn: 114481
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineBasicBlock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineBasicBlock.h b/llvm/include/llvm/CodeGen/MachineBasicBlock.h index 3cfc47ac4d8..bb7abdbd016 100644 --- a/llvm/include/llvm/CodeGen/MachineBasicBlock.h +++ b/llvm/include/llvm/CodeGen/MachineBasicBlock.h @@ -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. |

