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:
parent
ec256edbce
commit
7a2147bcf0
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user