Fix stupid mistake from commit 136381.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136384 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakub Staszak 2011-07-28 20:17:18 +00:00
parent 2f9427c6a3
commit af7a46d5a6

View File

@ -229,7 +229,7 @@ class BlockFrequencyImpl {
doBlock(BB, Head, BlocksInLoop);
BlocksInLoop.insert(BB);
if (I != E)
if (I == E)
break;
}