Skip to content

Commit

Permalink
[MC] Drop an unused rule about absolute temporary symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Jan 5, 2020
1 parent e3bd011 commit c764304
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions llvm/lib/MC/MCAssembler.cpp
Expand Up @@ -163,10 +163,6 @@ bool MCAssembler::isSymbolLinkerVisible(const MCSymbol &Symbol) const {
if (!Symbol.isTemporary())
return true;

// Absolute temporary labels are never visible.
if (!Symbol.isInSection())
return false;

if (Symbol.isUsedInReloc())
return true;

Expand Down

0 comments on commit c764304

Please sign in to comment.