mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 17:39:16 +00:00
MC: Make MCSymbolData::Symbol private
Make the back-pointer from `MCSymbolData` to `MCSymbol` private, preparing to remove the back pointer entirely. I've already updated all the users, although for now it's still used to indicate whether `MCSymbol::Data` has been initialized. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237868 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aa87ff8440
commit
549a742ba4
@ -71,8 +71,6 @@ public:
|
||||
/// @{
|
||||
bool isInitialized() const { return Symbol; }
|
||||
|
||||
const MCSymbol &getSymbol() const { return *Symbol; }
|
||||
|
||||
MCFragment *getFragment() const { return Fragment.getPointer(); }
|
||||
void setFragment(MCFragment *Value) { Fragment.setPointer(Value); }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user