Remove a trivial getter.
llvm-svn: 261590
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp
index 8ba203f..a356eea 100644
--- a/lld/ELF/Writer.cpp
+++ b/lld/ELF/Writer.cpp
@@ -249,7 +249,7 @@
return true;
}
- if (!Body || !Body->isTls())
+ if (!Body || !Body->IsTls)
return false;
if (Target->isTlsGlobalDynamicRel(Type)) {
@@ -406,7 +406,7 @@
if (CBP || Dynrel) {
uint32_t DynType;
if (CBP)
- DynType = Body->isTls() ? Target->TlsGotRel : Target->GotRel;
+ DynType = Body->IsTls ? Target->TlsGotRel : Target->GotRel;
else
DynType = Target->RelativeRel;
Out<ELFT>::RelaDyn->addReloc(