[llvm-commits] [llvm] r84294 - /llvm/trunk/include/llvm/CodeGen/MachineFunction.h
Dan Gohman
gohman at apple.com
Fri Oct 16 17:28:26 PDT 2009
Author: djg
Date: Fri Oct 16 19:28:24 2009
New Revision: 84294
URL: http://llvm.org/viewvc/llvm-project?rev=84294&view=rev
Log:
Add a splice member function which accepts a range instead of a
single iterator.
Modified:
llvm/trunk/include/llvm/CodeGen/MachineFunction.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineFunction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineFunction.h?rev=84294&r1=84293&r2=84294&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFunction.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineFunction.h Fri Oct 16 19:28:24 2009
@@ -267,6 +267,9 @@
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);
More information about the llvm-commits
mailing list