aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/BasicBlock.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-23 04:03:45 +0000
committerChris Lattner <sabre@nondot.org>2006-09-23 04:03:45 +0000
commita71965b1adf6bfeddfd3b38fdf7df9b4412bc6c2 (patch)
treee8b1b797d470bf8ede84e56a383af087b5e94419 /include/llvm/BasicBlock.h
parentf10c17f986f2986d0501046aa13a08db4886dd77 (diff)
downloadexternal_llvm-a71965b1adf6bfeddfd3b38fdf7df9b4412bc6c2.zip
external_llvm-a71965b1adf6bfeddfd3b38fdf7df9b4412bc6c2.tar.gz
external_llvm-a71965b1adf6bfeddfd3b38fdf7df9b4412bc6c2.tar.bz2
add method, correct comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/BasicBlock.h')
-rw-r--r--include/llvm/BasicBlock.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h
index 0f7b3e0..551ca4d 100644
--- a/include/llvm/BasicBlock.h
+++ b/include/llvm/BasicBlock.h
@@ -109,10 +109,14 @@ public:
///
void eraseFromParent();
- /// moveBefore - Unlink this instruction from its current function and
- /// insert it into the function that MovePos lives in, right before
- /// MovePos.
+ /// moveBefore - Unlink this basic block from its current function and
+ /// insert it into the function that MovePos lives in, right before MovePos.
void moveBefore(BasicBlock *MovePos);
+
+ /// moveAfter - Unlink this basic block from its current function and
+ /// insert it into the function that MovePos lives in, right after MovePos.
+ void moveAfter(BasicBlock *MovePos);
+
/// getSinglePredecessor - If this basic block has a single predecessor block,
/// return the block, otherwise return a null pointer.