[ELF] Make two PPC64.cpp variables constexpr. NFC

Why are they mutable? :)
This commit is contained in:
Fangrui Song 2020-09-10 14:30:00 -07:00
parent fb109c42d9
commit 485f3f35cc
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ using namespace llvm::ELF;
using namespace lld;
using namespace lld::elf;
static uint64_t ppc64TocOffset = 0x8000;
static uint64_t dynamicThreadPointerOffset = 0x8000;
constexpr uint64_t ppc64TocOffset = 0x8000;
constexpr uint64_t dynamicThreadPointerOffset = 0x8000;
// The instruction encoding of bits 21-30 from the ISA for the Xform and Dform
// instructions that can be used as part of the initial exec TLS sequence.