Use existing variable. NFC.
llvm-svn: 290112
diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp
index 1c87acc..f7dcc5d 100644
--- a/lld/ELF/Relocations.cpp
+++ b/lld/ELF/Relocations.cpp
@@ -156,7 +156,7 @@
if (In<ELFT>::Got->addDynTlsEntry(Body)) {
uintX_t Off = In<ELFT>::Got->getGlobalDynOffset(Body);
In<ELFT>::RelaDyn->addReloc({Target->TlsDescRel, In<ELFT>::Got, Off,
- !Body.isPreemptible(), &Body, 0});
+ !IsPreemptible, &Body, 0});
}
if (Expr != R_TLSDESC_CALL)
C.Relocations.push_back({Expr, Type, Offset, Addend, &Body});