Delete a dead repl.
It is only ever used on symbols taken from the symbol table. llvm-svn: 266391
This commit is contained in:
parent
3fdd27df03
commit
5ffa13c473
|
@ -1487,7 +1487,7 @@ SymbolTableSection<ELFT>::getOutputSection(SymbolBody *Sym) {
|
|||
case SymbolBody::DefinedSyntheticKind:
|
||||
return &cast<DefinedSynthetic<ELFT>>(Sym)->Section;
|
||||
case SymbolBody::DefinedRegularKind: {
|
||||
auto &D = cast<DefinedRegular<ELFT>>(Sym->repl());
|
||||
auto &D = cast<DefinedRegular<ELFT>>(*Sym);
|
||||
if (D.Section)
|
||||
return D.Section->OutSec;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue