diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2006-11-11 20:27:49 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2006-11-11 20:27:49 +0000 |
| commit | 06d8e0fa3bc57fdcf092b21613d37002e5469a1c (patch) | |
| tree | fec583a1380ca35e2b9c7e156f6ce1dd6feb390c /llvm/lib/Linker/LinkArchives.cpp | |
| parent | 2230144a7529a545ba0e1239b1af59ad521c3946 (diff) | |
| download | bcm5719-llvm-06d8e0fa3bc57fdcf092b21613d37002e5469a1c.tar.gz bcm5719-llvm-06d8e0fa3bc57fdcf092b21613d37002e5469a1c.zip | |
Remvoe a do-nothing else block.
llvm-svn: 31687
Diffstat (limited to 'llvm/lib/Linker/LinkArchives.cpp')
| -rw-r--r-- | llvm/lib/Linker/LinkArchives.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/Linker/LinkArchives.cpp b/llvm/lib/Linker/LinkArchives.cpp index 152b0b1e7bf..583e1940ad9 100644 --- a/llvm/lib/Linker/LinkArchives.cpp +++ b/llvm/lib/Linker/LinkArchives.cpp @@ -165,12 +165,7 @@ Linker::LinkInArchive(const sys::Path &Filename) { return error("Cannot link in module '" + aModule->getModuleIdentifier() + "': " + moduleErrorMsg); } - } else { - // (scottm) NOTE: For some reason, Modules.empty() isn't entirely - // accurrate, least with gcc 4.1.2 on Debian and doesn't return true - // when it ought. Consequently, aModule can be NULL -- ignore it for - // the time being, since it seems relatively benign. - } + } } // Get the undefined symbols from the aggregate module. This recomputes the |

