From 3d3fc3296e7684c0a1a13b948723802c0f5828c2 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Fri, 6 Jul 2007 13:38:17 +0000 Subject: eliminate residual cruft related to recognizing bytecode files. bitcode files are the only LLVM format left. llvm-svn: 37945 --- llvm/lib/Linker/Linker.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/Linker/Linker.cpp') 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; -- cgit v1.2.3