From d26074eef19d6766724cffcd68a172bedc9f8843 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Tue, 4 May 2004 21:41:45 +0000 Subject: [PATCH] Missing piece of fix for Bug 333 llvm-svn: 13362 --- llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp b/llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp index cf24c3a12349..4b64a7787834 100644 --- a/llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp +++ b/llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp @@ -736,7 +736,7 @@ void SparcV9AsmPrinter::emitFunction(const Function &F) { enterSection(AsmPrinter::ReadOnlyData); for (unsigned i = 0, e = CP.size(); i != e; ++i) { - std::string cpiName = ".CPI_" + F.getName() + "_" + utostr(i); + std::string cpiName = ".CPI_" + methName + "_" + utostr(i); printConstant(CP[i], cpiName); }