forked from OSchip/llvm-project
[ELF] Rewrite isMips64EL() using isMipsELF64(). NFCI.
llvm-svn: 287011
This commit is contained in:
parent
569851f1d6
commit
926d516179
|
@ -106,8 +106,7 @@ public:
|
|||
}
|
||||
|
||||
bool isMips64EL() const {
|
||||
return getHeader()->e_machine == ELF::EM_MIPS &&
|
||||
getHeader()->getFileClass() == ELF::ELFCLASS64 &&
|
||||
return isMipsELF64() &&
|
||||
getHeader()->getDataEncoding() == ELF::ELFDATA2LSB;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue