mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
Ignore empty blocks.
llvm-svn: 117615
This commit is contained in:
parent
ef237e6013
commit
bf9c3c8947
@ -2790,7 +2790,7 @@ static void CheckLineNumbers(const MachineFunction *MF) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!FoundLineNo)
|
||||
if (!FoundLineNo && I->size())
|
||||
++BlocksWithoutLineNo;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user