diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-01 04:09:03 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-01 04:09:03 +0000 |
commit | efbb5330b8d383a393c83d2da5d631c98b0bb3fd (patch) | |
tree | 280afe7c6d3eb67b7ff82a81914e0eaf7a124c1a /include | |
parent | 46e0faa81c5a4fa24efe614d5ecddb0e61c077aa (diff) | |
download | external_llvm-efbb5330b8d383a393c83d2da5d631c98b0bb3fd.zip external_llvm-efbb5330b8d383a393c83d2da5d631c98b0bb3fd.tar.gz external_llvm-efbb5330b8d383a393c83d2da5d631c98b0bb3fd.tar.bz2 |
llvm-mc: Store MCSymbolData value as a pointer (to make MSVC happy).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80652 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCAssembler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h index 44fc2e1..892f548 100644 --- a/include/llvm/MC/MCAssembler.h +++ b/include/llvm/MC/MCAssembler.h @@ -437,7 +437,7 @@ public: // FIXME: Same concerns as with SectionData. class MCSymbolData : public ilist_node<MCSymbolData> { public: - const MCSymbol &Symbol; + const MCSymbol *Symbol; /// Fragment - The fragment this symbol's value is relative to, if any. MCFragment *Fragment; @@ -480,7 +480,7 @@ public: /// @name Accessors /// @{ - const MCSymbol &getSymbol() const { return Symbol; } + const MCSymbol &getSymbol() const { return *Symbol; } MCFragment *getFragment() const { return Fragment; } void setFragment(MCFragment *Value) { Fragment = Value; } |