1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

[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 3f2c8aa170
commit 7a9dab6844

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