Devang points out that we need an assertion here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37097 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2007-05-16 05:11:10 +00:00
parent 6c1d2b90e3
commit c5d05ef357

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)