diff options
author | Dan Gohman <gohman@apple.com> | 2009-10-17 00:28:24 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-10-17 00:28:24 +0000 |
commit | f920463aae34ae3d39d38bf7c6af7ec7ca7b30fe (patch) | |
tree | 1adfc25fb4d12828f7a2a00c18f05b9c6d4f1262 | |
parent | 12bfa3859dd0ef5c5871eec6268f98675e1dd844 (diff) | |
download | bcm5719-llvm-f920463aae34ae3d39d38bf7c6af7ec7ca7b30fe.tar.gz bcm5719-llvm-f920463aae34ae3d39d38bf7c6af7ec7ca7b30fe.zip |
Add a splice member function which accepts a range instead of a
single iterator.
llvm-svn: 84294
-rw-r--r-- | llvm/include/llvm/CodeGen/MachineFunction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineFunction.h b/llvm/include/llvm/CodeGen/MachineFunction.h index ba831cab172..40260ea693f 100644 --- a/llvm/include/llvm/CodeGen/MachineFunction.h +++ b/llvm/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); |