forked from OSchip/llvm-project
[ELF] Remove unneeded SectionBase::repl indirection
sec->repl equals sec after rL371216.
This commit is contained in:
parent
b2cea573c9
commit
c2f2bb066b
|
@ -200,7 +200,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;
|
||||
}
|
||||
return nullptr;
|
||||
|
|
Loading…
Reference in New Issue