projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13ad5aa
)
Add a splice member function which accepts a range instead of a
author
Dan Gohman
<gohman@apple.com>
Sat, 17 Oct 2009 00:28:24 +0000
(
00:28
+0000)
committer
Dan Gohman
<gohman@apple.com>
Sat, 17 Oct 2009 00:28:24 +0000
(
00:28
+0000)
single iterator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84294
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineFunction.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineFunction.h
b/include/llvm/CodeGen/MachineFunction.h
index ba831cab172534a0676bbe8f78eb6a69b964feb7..40260ea693f02f552a998bd8e8cf544329d771a8 100644
(file)
--- a/
include/llvm/CodeGen/MachineFunction.h
+++ b/
include/llvm/CodeGen/MachineFunction.h
@@
-267,6
+267,9
@@
public:
void splice(iterator InsertPt, iterator MBBI) {
BasicBlocks.splice(InsertPt, BasicBlocks, MBBI);
}
+ void splice(iterator InsertPt, iterator MBBI, iterator MBBE) {
+ BasicBlocks.splice(InsertPt, BasicBlocks, MBBI, MBBE);
+ }
void remove(iterator MBBI) {
BasicBlocks.remove(MBBI);