diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-06-14 21:51:20 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-06-14 21:51:20 +0000 |
commit | 6c3044db28ca1efa4d3da4ea40043bf8a3a8e030 (patch) | |
tree | dbbc6d08bab8042b2c55f85249fd054fd552abaa /include/llvm/MC/MCContext.h | |
parent | c35dd25ab820c3db37b7bfd506d656c14b14e331 (diff) | |
download | external_llvm-6c3044db28ca1efa4d3da4ea40043bf8a3a8e030.zip external_llvm-6c3044db28ca1efa4d3da4ea40043bf8a3a8e030.tar.gz external_llvm-6c3044db28ca1efa4d3da4ea40043bf8a3a8e030.tar.bz2 |
Revert 133010. Self-hosted buildbot unhappy.
Apparently llvm itself generates undefined assembler local labels, causing
self-hosting problems with this patch. Reverting until that's sorted out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133013 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCContext.h')
-rw-r--r-- | include/llvm/MC/MCContext.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/include/llvm/MC/MCContext.h b/include/llvm/MC/MCContext.h index 43a9ce6..070089e 100644 --- a/include/llvm/MC/MCContext.h +++ b/include/llvm/MC/MCContext.h @@ -39,9 +39,6 @@ namespace llvm { class MCContext { MCContext(const MCContext&); // DO NOT IMPLEMENT MCContext &operator=(const MCContext&); // DO NOT IMPLEMENT - public: - typedef StringMap<MCSymbol*, BumpPtrAllocator&> SymbolTable; - private: /// The MCAsmInfo for this target. const MCAsmInfo &MAI; @@ -55,7 +52,7 @@ namespace llvm { BumpPtrAllocator Allocator; /// Symbols - Bindings of names to symbols. - SymbolTable Symbols; + StringMap<MCSymbol*, BumpPtrAllocator&> Symbols; /// UsedNames - Keeps tracks of names that were used both for used declared /// and artificial symbols. @@ -145,14 +142,6 @@ namespace llvm { /// LookupSymbol - Get the symbol for \p Name, or null. MCSymbol *LookupSymbol(StringRef Name) const; - /// getSymbols - Get a reference for the symbol table for clients that - /// want to, for example, iterate over all symbols. 'const' because we - /// still want any modifications to the table itself to use the MCContext - /// APIs. - const SymbolTable &getSymbols() const { - return Symbols; - } - /// @} /// @name Section Management |