summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-05-04 21:41:45 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-05-04 21:41:45 +0000
commitd26074eef19d6766724cffcd68a172bedc9f8843 (patch)
tree324560b936826d5bc5adbaad75b95ee5daa8d608 /llvm/lib/Target
parente307f8a7919319fa4309acbe6fdf63c54bc99e6f (diff)
downloadbcm5719-llvm-d26074eef19d6766724cffcd68a172bedc9f8843.tar.gz
bcm5719-llvm-d26074eef19d6766724cffcd68a172bedc9f8843.zip
Missing piece of fix for Bug 333
llvm-svn: 13362
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp b/llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
index cf24c3a1234..4b64a778783 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);
}
OpenPOWER on IntegriCloud