summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/BasicBlock.cpp
diff options
context:
space:
mode:
authorVladimir Prus <ghost@cs.msu.su>2006-06-08 16:03:13 +0000
committerVladimir Prus <ghost@cs.msu.su>2006-06-08 16:03:13 +0000
commit9bc4009e9be8050ccb9e8dbe4a1fc63ea3b33f5f (patch)
tree39eb055d98c185255cd6a2b0b1917e390d086f63 /llvm/lib/VMCore/BasicBlock.cpp
parentb5b6dc49e2ea63d9cbf1991f7ff20d296dda41d2 (diff)
downloadbcm5719-llvm-9bc4009e9be8050ccb9e8dbe4a1fc63ea3b33f5f.tar.gz
bcm5719-llvm-9bc4009e9be8050ccb9e8dbe4a1fc63ea3b33f5f.zip
Remove dead code.
llvm-svn: 28725
Diffstat (limited to 'llvm/lib/VMCore/BasicBlock.cpp')
-rw-r--r--llvm/lib/VMCore/BasicBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/BasicBlock.cpp b/llvm/lib/VMCore/BasicBlock.cpp
index c93f5584d27..18a90d6b443 100644
--- a/llvm/lib/VMCore/BasicBlock.cpp
+++ b/llvm/lib/VMCore/BasicBlock.cpp
@@ -123,7 +123,7 @@ const TerminatorInst *const BasicBlock::getTerminator() const {
Instruction* BasicBlock::getFirstNonPHI()
{
- BasicBlock::iterator i = begin(), e = end();
+ BasicBlock::iterator i = begin();
// All valid basic blocks should have a terminator,
// which is not a PHINode. If we have invalid basic
// block we'll get assert when dereferencing past-the-end
OpenPOWER on IntegriCloud