OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44cfe14
)
Add insertAfter. This should have accompanied previous check-in.
author
Devang Patel
<dpatel@apple.com>
Tue, 21 Sep 2010 21:10:42 +0000
(21:10 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 21 Sep 2010 21:10:42 +0000
(21:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114481
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineBasicBlock.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineBasicBlock.h
b/include/llvm/CodeGen/MachineBasicBlock.h
index
3cfc47a
..
bb7abdb
100644
(file)
--- a/
include/llvm/CodeGen/MachineBasicBlock.h
+++ b/
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.