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:
parent
3f2c8aa170
commit
7a9dab6844
@ -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
Block a user