diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-02 17:41:52 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-02 17:41:52 +0000 |
| commit | 751114b39d434bdd2b6f95330bed7fdcc7a0d580 (patch) | |
| tree | 12fbcc1210fa0f3f0624eaee4ab180e444bc2d1c /llvm/lib | |
| parent | 0d60a9887fafd6433121210742bd82e2a36f14bc (diff) | |
| download | bcm5719-llvm-751114b39d434bdd2b6f95330bed7fdcc7a0d580.tar.gz bcm5719-llvm-751114b39d434bdd2b6f95330bed7fdcc7a0d580.zip | |
Remove redundant assertion after cast, NFC
llvm-svn: 265232
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Linker/IRMover.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Linker/IRMover.cpp b/llvm/lib/Linker/IRMover.cpp index 9a69d0bae46..b7058f433bc 100644 --- a/llvm/lib/Linker/IRMover.cpp +++ b/llvm/lib/Linker/IRMover.cpp @@ -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. |

