summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-11-28 19:35:07 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-11-28 19:35:07 +0000
commit61b3d0c1fbb2e7cbfc79741c6f9b927501b5c55a (patch)
tree7901b554da1cc5feb2b5cca3cd2dadcfa274cef7 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parent3b5b16cdff57d94cbc7dadedc64bef4b642d59f8 (diff)
downloadbcm5719-llvm-61b3d0c1fbb2e7cbfc79741c6f9b927501b5c55a.tar.gz
bcm5719-llvm-61b3d0c1fbb2e7cbfc79741c6f9b927501b5c55a.zip
Remove an always true parameter.
llvm-svn: 195931
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 6f4bd55c63a..6273b4ad689 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -2033,14 +2033,10 @@ MCSymbol *AsmPrinter::GetJTSetSymbol(unsigned UID, unsigned MBBID) const {
Twine(UID) + "_set_" + Twine(MBBID));
}
-/// GetSymbolWithGlobalValueBase - Return the MCSymbol for a symbol with
-/// global value name as its base, with the specified suffix, and where the
-/// symbol is forced to have private linkage if ForcePrivate is true.
MCSymbol *AsmPrinter::GetSymbolWithGlobalValueBase(const GlobalValue *GV,
- StringRef Suffix,
- bool ForcePrivate) const {
+ StringRef Suffix) const {
SmallString<60> NameStr;
- Mang->getNameWithPrefix(NameStr, GV, ForcePrivate);
+ Mang->getNameWithPrefix(NameStr, GV, true);
NameStr.append(Suffix.begin(), Suffix.end());
return OutContext.GetOrCreateSymbol(NameStr.str());
}
OpenPOWER on IntegriCloud