mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 13:37:07 +00:00
Remove an always true parameter.
llvm-svn: 195931
This commit is contained in:
parent
9b851e876f
commit
7e7db10302
@ -304,13 +304,10 @@ namespace llvm {
|
|||||||
/// stem.
|
/// stem.
|
||||||
MCSymbol *GetTempSymbol(StringRef Name) const;
|
MCSymbol *GetTempSymbol(StringRef Name) const;
|
||||||
|
|
||||||
|
/// Return the MCSymbol for a private symbol with global value name as its
|
||||||
/// GetSymbolWithGlobalValueBase - Return the MCSymbol for a symbol with
|
/// base, with the specified suffix.
|
||||||
/// 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 *GetSymbolWithGlobalValueBase(const GlobalValue *GV,
|
MCSymbol *GetSymbolWithGlobalValueBase(const GlobalValue *GV,
|
||||||
StringRef Suffix,
|
StringRef Suffix) const;
|
||||||
bool ForcePrivate = true) const;
|
|
||||||
|
|
||||||
/// GetExternalSymbolSymbol - Return the MCSymbol for the specified
|
/// GetExternalSymbolSymbol - Return the MCSymbol for the specified
|
||||||
/// ExternalSymbol.
|
/// ExternalSymbol.
|
||||||
|
@ -2033,14 +2033,10 @@ MCSymbol *AsmPrinter::GetJTSetSymbol(unsigned UID, unsigned MBBID) const {
|
|||||||
Twine(UID) + "_set_" + Twine(MBBID));
|
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,
|
MCSymbol *AsmPrinter::GetSymbolWithGlobalValueBase(const GlobalValue *GV,
|
||||||
StringRef Suffix,
|
StringRef Suffix) const {
|
||||||
bool ForcePrivate) const {
|
|
||||||
SmallString<60> NameStr;
|
SmallString<60> NameStr;
|
||||||
Mang->getNameWithPrefix(NameStr, GV, ForcePrivate);
|
Mang->getNameWithPrefix(NameStr, GV, true);
|
||||||
NameStr.append(Suffix.begin(), Suffix.end());
|
NameStr.append(Suffix.begin(), Suffix.end());
|
||||||
return OutContext.GetOrCreateSymbol(NameStr.str());
|
return OutContext.GetOrCreateSymbol(NameStr.str());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user