summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/Linker.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/Linker.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/Linker.cpp')
-rw-r--r--llvm/lib/Linker/Linker.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Linker/Linker.cpp b/llvm/lib/Linker/Linker.cpp
index 4604305b6d5..9f9a59d4d6e 100644
--- a/llvm/lib/Linker/Linker.cpp
+++ b/llvm/lib/Linker/Linker.cpp
@@ -142,8 +142,6 @@ static inline sys::Path IsLibrary(const std::string& Name,
FullPath.appendSuffix(&(LTDL_SHLIB_EXT[1]));
if (FullPath.isDynamicLibrary()) // Native shared library?
return FullPath;
- if (FullPath.isBytecodeFile()) // .so file containing bytecode?
- return FullPath;
if (FullPath.isBitcodeFile()) // .so file containing bitcode?
return FullPath;
OpenPOWER on IntegriCloud