diff --git a/lib/MC/MCContext.cpp b/lib/MC/MCContext.cpp index 8279fd4d07a..cf8177c63a1 100644 --- a/lib/MC/MCContext.cpp +++ b/lib/MC/MCContext.cpp @@ -38,10 +38,6 @@ MCSymbol *MCContext::GetOrCreateSymbol(const Twine &Name) { MCSymbol *MCContext::GetOrCreateTemporarySymbol(StringRef Name) { - // If unnamed, just create a symbol. - if (Name.empty()) - new (*this) MCSymbol("", true); - // Otherwise create as usual. MCSymbol *&Entry = Symbols[Name]; if (Entry) return Entry;