[ELF] Rewrite isMips64EL() using isMipsELF64(). NFCI.

llvm-svn: 287011
This commit is contained in:
Davide Italiano 2016-11-15 19:15:18 +00:00
parent 569851f1d6
commit 926d516179
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}