From 4e4549deea3f484423fb8c8787a4abaae7825e95 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 4 Apr 2010 19:28:59 +0000 Subject: resolve a fixme. llvm-svn: 100346 --- llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 5c63cf28821..26277652f14 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -1350,12 +1350,7 @@ void AsmPrinter::printOffset(int64_t Offset, raw_ostream &OS) const { /// GetTempSymbol - Return the MCSymbol corresponding to the assembler /// temporary label with the specified stem and unique ID. MCSymbol *AsmPrinter::GetTempSymbol(StringRef Name, unsigned ID) const { - // FIXME: REMOVE this. However, there is stuff in EH that passes counters in - // here that can be zero. - - //assert(ID && "Should use GetTempSymbol if no ID"); - if (ID == 0) return GetTempSymbol(Name); - return OutContext.GetOrCreateSymbol(Twine(MAI->getPrivateGlobalPrefix())+ + return OutContext.GetOrCreateSymbol(Twine(MAI->getPrivateGlobalPrefix()) + Name + Twine(ID)); } -- cgit v1.2.3