1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Remove redundant assertion after cast, NFC

llvm-svn: 265232
This commit is contained in:
Duncan P. N. Exon Smith 2016-04-02 17:41:52 +00:00
parent ec256edbce
commit 7a2147bcf0

View File

@ -1042,7 +1042,6 @@ void IRLinker::mapUnneededSubprograms() {
return;
for (unsigned I = 0, E = CompileUnits->getNumOperands(); I != E; ++I) {
auto *CU = cast<DICompileUnit>(CompileUnits->getOperand(I));
assert(CU && "Expected valid compile unit");
// Seed the ValueMap with the imported entities, in case they reference new
// subprograms.