forked from OSchip/llvm-project
[ELF] --fortran-common: remove unneeded identify_magic call. NFC
This commit is contained in:
parent
58e6ee0e1f
commit
e8fd49f24b
|
@ -1756,7 +1756,7 @@ template <class ELFT> void ObjFile<ELFT>::parseLazy() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool InputFile::shouldExtractForCommon(StringRef name) {
|
bool InputFile::shouldExtractForCommon(StringRef name) {
|
||||||
if (isBitcode(mb))
|
if (isa<BitcodeFile>(this))
|
||||||
return isBitcodeNonCommonDef(mb, name, archiveName);
|
return isBitcodeNonCommonDef(mb, name, archiveName);
|
||||||
|
|
||||||
return isNonCommonDef(mb, name, archiveName);
|
return isNonCommonDef(mb, name, archiveName);
|
||||||
|
|
Loading…
Reference in New Issue