Drop redundant ->Repl.

SectionBase::getOutputSection handles replacement sections, so this
code doesn't have to.

llvm-svn: 328390
This commit is contained in:
Rafael Espindola 2018-03-23 23:53:01 +00:00
parent df9f50d23c
commit 4e82a9e2fa
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ uint64_t Symbol::getSize() const {
OutputSection *Symbol::getOutputSection() const {
if (auto *S = dyn_cast<Defined>(this)) {
if (auto *Sec = S->Section)
return Sec->Repl->getOutputSection();
return Sec->getOutputSection();
return nullptr;
}