summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-24 03:41:39 +0000
committerChris Lattner <sabre@nondot.org>2003-08-24 03:41:39 +0000
commit4bd4aa5e3c41c0fc803e960252bb6fe75b804b1d (patch)
tree5050a69039e8225373b4807d03a2687f406f452c /include
parentf3f062eb71d8725ef4e91f630c9c6481b2b0d569 (diff)
downloadllvm-4bd4aa5e3c41c0fc803e960252bb6fe75b804b1d.tar.gz
llvm-4bd4aa5e3c41c0fc803e960252bb6fe75b804b1d.tar.bz2
llvm-4bd4aa5e3c41c0fc803e960252bb6fe75b804b1d.tar.xz
Allow specifying the name for the newly split basic block
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/BasicBlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h
index 893792656c..103761a23e 100644
--- a/include/llvm/BasicBlock.h
+++ b/include/llvm/BasicBlock.h
@@ -171,7 +171,7 @@ public:
/// cause a degenerate basic block to be formed, having a terminator inside of
/// the basic block).
///
- BasicBlock *splitBasicBlock(iterator I);
+ BasicBlock *splitBasicBlock(iterator I, const std::string &BBName = "");
};
#endif