Ignore empty blocks.

llvm-svn: 117615
This commit is contained in:
Devang Patel 2010-10-28 22:11:59 +00:00
parent ef237e6013
commit bf9c3c8947

View File

@ -2790,7 +2790,7 @@ static void CheckLineNumbers(const MachineFunction *MF) {
break;
}
}
if (!FoundLineNo)
if (!FoundLineNo && I->size())
++BlocksWithoutLineNo;
}
}