mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-28 06:24:57 +00:00
Remove getData.
This completes the mechanical part of merging MCSymbol and MCSymbolData. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -567,10 +567,9 @@ private:
|
||||
Twine(MappingSymbolCounter++));
|
||||
|
||||
getAssembler().registerSymbol(*Symbol);
|
||||
MCSymbol &SD = Symbol->getData();
|
||||
MCELF::SetType(*Symbol, ELF::STT_NOTYPE);
|
||||
MCELF::SetBinding(*Symbol, ELF::STB_LOCAL);
|
||||
SD.setExternal(false);
|
||||
Symbol->setExternal(false);
|
||||
AssignSection(Symbol, getCurrentSection().first);
|
||||
|
||||
const MCExpr *Value = MCSymbolRefExpr::Create(Start, getContext());
|
||||
|
Reference in New Issue
Block a user