Ignore empty blocks.

llvm-svn: 117615
This commit is contained in:
Devang Patel 2010-10-28 22:11:59 +00:00
parent ed23f18d7e
commit 6e0d58968d
1 changed files with 1 additions and 1 deletions

View File

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