llvm.org GIT mirror llvm / 4e7cf47
[ELF] Rewrite isMips64EL() using isMipsELF64(). NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287011 91177308-0d34-0410-b5e6-96231b3b80d8 Davide Italiano 3 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
105105 }
106106
107107 bool isMips64EL() const {
108 return getHeader()->e_machine == ELF::EM_MIPS &&
109 getHeader()->getFileClass() == ELF::ELFCLASS64 &&
108 return isMipsELF64() &&
110109 getHeader()->getDataEncoding() == ELF::ELFDATA2LSB;
111110 }
112111