Delete a dead repl.

It is only ever used on symbols taken from the symbol table.

llvm-svn: 266391
This commit is contained in:
Rafael Espindola 2016-04-15 00:15:02 +00:00
parent 3fdd27df03
commit 5ffa13c473
1 changed files with 1 additions and 1 deletions

View File

@ -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;