mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user