mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-25 17:20:48 +00:00
MC: Simplify MCAssembler::isSymbolLinkerVisible to only take an MCSymbol.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106142 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -936,7 +936,7 @@ public:
|
||||
const MCSymbol &Symbol = it->getSymbol();
|
||||
|
||||
// Ignore non-linker visible symbols.
|
||||
if (!Asm.isSymbolLinkerVisible(it))
|
||||
if (!Asm.isSymbolLinkerVisible(it->getSymbol()))
|
||||
continue;
|
||||
|
||||
if (!it->isExternal() && !Symbol.isUndefined())
|
||||
@@ -972,7 +972,7 @@ public:
|
||||
const MCSymbol &Symbol = it->getSymbol();
|
||||
|
||||
// Ignore non-linker visible symbols.
|
||||
if (!Asm.isSymbolLinkerVisible(it))
|
||||
if (!Asm.isSymbolLinkerVisible(it->getSymbol()))
|
||||
continue;
|
||||
|
||||
if (it->isExternal() || Symbol.isUndefined())
|
||||
|
Reference in New Issue
Block a user