summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkItems.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2007-07-06 13:38:17 +0000
committerGabor Greif <ggreif@gmail.com>2007-07-06 13:38:17 +0000
commit3d3fc3296e7684c0a1a13b948723802c0f5828c2 (patch)
tree0e48f111f767ef1c4092d0338c05681aad089f5a /llvm/lib/Linker/LinkItems.cpp
parentfd404813e82d070c180fda38843c94438c9e9918 (diff)
downloadbcm5719-llvm-3d3fc3296e7684c0a1a13b948723802c0f5828c2.tar.gz
bcm5719-llvm-3d3fc3296e7684c0a1a13b948723802c0f5828c2.zip
eliminate residual cruft related to recognizing bytecode
files. bitcode files are the only LLVM format left. llvm-svn: 37945
Diffstat (limited to 'llvm/lib/Linker/LinkItems.cpp')
-rw-r--r--llvm/lib/Linker/LinkItems.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/Linker/LinkItems.cpp b/llvm/lib/Linker/LinkItems.cpp
index e66fa5b6e6d..3cf1f6bd8cd 100644
--- a/llvm/lib/Linker/LinkItems.cpp
+++ b/llvm/lib/Linker/LinkItems.cpp
@@ -82,9 +82,7 @@ bool Linker::LinkInLibrary(const std::string& Lib, bool& is_native) {
case sys::Unknown_FileType:
return warning("Supposed library '" + Lib + "' isn't a library.");
- case sys::Bytecode_FileType:
case sys::Bitcode_FileType:
- case sys::CompressedBytecode_FileType:
// LLVM ".so" file.
if (LinkInFile(Pathname, is_native))
return error("Cannot link file '" + Pathname.toString() + "'");
@@ -176,9 +174,7 @@ bool Linker::LinkInFile(const sys::Path &File, bool &is_native) {
return error("Cannot link archive '" + File.toString() + "'");
break;
- case sys::Bitcode_FileType:
- case sys::Bytecode_FileType:
- case sys::CompressedBytecode_FileType: {
+ case sys::Bitcode_FileType: {
verbose("Linking bitcode file '" + File.toString() + "'");
std::auto_ptr<Module> M(LoadObject(File));
if (M.get() == 0)
OpenPOWER on IntegriCloud