diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-04 19:28:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-04 19:28:59 +0000 |
commit | af8df264952698cfde59d99c96d4a0da9e4f5afa (patch) | |
tree | d77a6d0c2416b3b491f9d273758c3a3ba3d35730 /lib/CodeGen | |
parent | c021572511f08372ae52fe8e31d3c307cab448fd (diff) | |
download | external_llvm-af8df264952698cfde59d99c96d4a0da9e4f5afa.zip external_llvm-af8df264952698cfde59d99c96d4a0da9e4f5afa.tar.gz external_llvm-af8df264952698cfde59d99c96d4a0da9e4f5afa.tar.bz2 |
resolve a fixme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 5c63cf2..2627765 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/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)); } |