diff options
Diffstat (limited to 'lld/ELF/Config.h')
| -rw-r--r-- | lld/ELF/Config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/Config.h b/lld/ELF/Config.h index 890a255dc95..6c7b83d7364 100644 --- a/lld/ELF/Config.h +++ b/lld/ELF/Config.h @@ -163,7 +163,7 @@ struct Configuration { unsigned ThinLTOJobs; // Returns true if target is 64 bit. - bool is64Bit() const { return EKind == ELF64LEKind || EKind == ELF64BEKind; } + bool is64() const { return EKind == ELF64LEKind || EKind == ELF64BEKind; } // The ELF spec defines two types of relocation table entries, RELA and // REL. RELA is a triplet of (offset, info, addend) while REL is a @@ -181,7 +181,7 @@ struct Configuration { // are using RELA too. bool isRela() const { bool IsX32Abi = (EKind == ELF32LEKind && EMachine == llvm::ELF::EM_X86_64); - return is64Bit() || IsX32Abi || MipsN32Abi; + return is64() || IsX32Abi || MipsN32Abi; } // Returns true if we need to pass through relocations in input |

