Remove dead code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28725 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vladimir Prus 2006-06-08 16:03:13 +00:00
parent dd49dbfe44
commit 28962f353b

View File

@ -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