OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcf3121
)
Remove redundant assertion after cast, NFC
author
Duncan P. N. Exon Smith
<dexonsmith@apple.com>
Sat, 2 Apr 2016 17:41:52 +0000
(17:41 +0000)
committer
Duncan P. N. Exon Smith
<dexonsmith@apple.com>
Sat, 2 Apr 2016 17:41:52 +0000
(17:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265232
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Linker/IRMover.cpp
patch
|
blob
|
history
diff --git
a/lib/Linker/IRMover.cpp
b/lib/Linker/IRMover.cpp
index
9a69d0b
..
b7058f4
100644
(file)
--- a/
lib/Linker/IRMover.cpp
+++ b/
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.