summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/EmitAssembly.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/Sparc/EmitAssembly.cpp')
-rw-r--r--llvm/lib/Target/Sparc/EmitAssembly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/EmitAssembly.cpp b/llvm/lib/Target/Sparc/EmitAssembly.cpp
index 9014d216aa5..6987ade3943 100644
--- a/llvm/lib/Target/Sparc/EmitAssembly.cpp
+++ b/llvm/lib/Target/Sparc/EmitAssembly.cpp
@@ -85,7 +85,7 @@ private :
// getID Wrappers - Ensure consistent usage...
string getID(const Method *M) { return getID(M, "anon_method$"); }
string getID(const BasicBlock *BB) {
- return getID(BB, "LL", (".L$"+getID(BB->getParent())).c_str());
+ return getID(BB, "LL", (".L$"+getID(BB->getParent())+"$").c_str());
}
unsigned getOperandMask(unsigned Opcode) {
OpenPOWER on IntegriCloud