Missing piece of fix for Bug 333

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13362 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2004-05-04 21:41:45 +00:00
parent 43be311215
commit 7ca6712f81

View File

@ -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);
}