From e75ca3d809ff17260efa320a949cb91ea2b3981e 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37945 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Archive/Archive.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'lib/Archive/Archive.cpp') diff --git a/lib/Archive/Archive.cpp b/lib/Archive/Archive.cpp index d0c64097a2a..b7e7106ae6f 100644 --- a/lib/Archive/Archive.cpp +++ b/lib/Archive/Archive.cpp @@ -126,15 +126,8 @@ bool ArchiveMember::replaceWith(const sys::Path& newFile, std::string* ErrMsg) { // Determine what kind of file it is switch (sys::IdentifyFileType(signature,4)) { - case sys::Bytecode_FileType: - flags |= BytecodeFlag; - break; - case sys::CompressedBytecode_FileType: - flags |= CompressedBytecodeFlag; - flags &= ~CompressedFlag; - break; default: - flags &= ~(BytecodeFlag|CompressedBytecodeFlag); + flags &= ~BitcodeFlag; break; } return false; -- cgit v1.2.1