Devang points out that we need an assertion here.

llvm-svn: 37097
This commit is contained in:
Evan Cheng 2007-05-16 05:11:10 +00:00
parent c4f5ac8383
commit 35fc2119b0
1 changed files with 2 additions and 0 deletions

View File

@ -141,6 +141,8 @@ void IfConverter::AnalyzeBlock(MachineBasicBlock *BB) {
if (!BBI.FBB)
BBI.FBB = findFalseBlock(BB, BBI.TBB);
assert(BBI.FBB && "Expected to find the fallthrough block!");
AnalyzeBlock(BBI.FBB);
BBInfo &FBBI = BBAnalysis[BBI.FBB->getNumber()];
if (FBBI.Kind != ICNotClassfied)