summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-01 13:32:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-01 13:32:03 +0000
commit8819c84aed10777ba91d4e862229882b8da0b272 (patch)
tree4895982330c0dceacf26671a3abfadccd4c32040 /lib/Transforms/Utils/BasicBlockUtils.cpp
parent1c831f7f1f7e869516f5a70c1e6dd8896bef76f5 (diff)
downloadllvm-8819c84aed10777ba91d4e862229882b8da0b272.tar.gz
llvm-8819c84aed10777ba91d4e862229882b8da0b272.tar.bz2
llvm-8819c84aed10777ba91d4e862229882b8da0b272.tar.xz
Remove several unused variables.
Patch by Alp Toker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/BasicBlockUtils.cpp')
-rw-r--r--lib/Transforms/Utils/BasicBlockUtils.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/BasicBlockUtils.cpp b/lib/Transforms/Utils/BasicBlockUtils.cpp
index e17a416083..a2e82f337b 100644
--- a/lib/Transforms/Utils/BasicBlockUtils.cpp
+++ b/lib/Transforms/Utils/BasicBlockUtils.cpp
@@ -248,7 +248,6 @@ BasicBlock *llvm::SplitEdge(BasicBlock *BB, BasicBlock *Succ, Pass *P) {
// If the edge isn't critical, then BB has a single successor or Succ has a
// single pred. Split the block.
- BasicBlock::iterator SplitPoint;
if (BasicBlock *SP = Succ->getSinglePredecessor()) {
// If the successor only has a single pred, split the top of the successor
// block.