forked from OSchip/llvm-project
Drop redundant ->Repl.
SectionBase::getOutputSection handles replacement sections, so this code doesn't have to. llvm-svn: 328390
This commit is contained in:
parent
df9f50d23c
commit
4e82a9e2fa
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue