diff options
Diffstat (limited to 'lib/VMCore/BasicBlock.cpp')
-rw-r--r-- | lib/VMCore/BasicBlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/BasicBlock.cpp b/lib/VMCore/BasicBlock.cpp index c93f5584d2..18a90d6b44 100644 --- a/lib/VMCore/BasicBlock.cpp +++ b/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 |