summaryrefslogtreecommitdiff
path: root/lib/MC/MCContext.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-26 22:13:22 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-26 22:13:22 +0000
commit959fd883346384e742fff049327a6815e36017e0 (patch)
treebc547f4126e123f1bc04ed9acf4ae8b095c9776b /lib/MC/MCContext.cpp
parentc33e6964773de5ce4912cfba3c374247d6b804d0 (diff)
downloadllvm-959fd883346384e742fff049327a6815e36017e0.tar.gz
llvm-959fd883346384e742fff049327a6815e36017e0.tar.bz2
llvm-959fd883346384e742fff049327a6815e36017e0.tar.xz
llvm-mc/Mach-O: Don't put assembler temporary labels in the symbol table.
- I moved section creation back into AsmParser. I think policy decisions like this should be pushed higher, not lower, when possible (in addition the assembler has flags which change this behavior, for example). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80162 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCContext.cpp')
-rw-r--r--lib/MC/MCContext.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/MC/MCContext.cpp b/lib/MC/MCContext.cpp
index 5a3e7f661e..f36564a6af 100644
--- a/lib/MC/MCContext.cpp
+++ b/lib/MC/MCContext.cpp
@@ -38,7 +38,6 @@ MCSymbol *MCContext::GetOrCreateSymbol(const StringRef &Name) {
return Entry = new (*this) MCSymbol(Name, false);
}
-
MCSymbol *MCContext::CreateTemporarySymbol(const StringRef &Name) {
// If unnamed, just create a symbol.
if (Name.empty())