eliminate the Mangler::PreserveAsmNames bit, the sole client of this

can do it perfectly well itself.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75743 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-07-15 04:50:47 +00:00
parent f1cfea2dbf
commit 9d5511b7db
3 changed files with 11 additions and 18 deletions

View File

@@ -38,10 +38,6 @@ class Mangler {
/// the space character. By default, this is false.
bool UseQuotes;
/// PreserveAsmNames - If this is set, the asm escape character is not removed
/// from names with 'asm' specifiers.
bool PreserveAsmNames;
/// AnonGlobalIDs - We need to give global values the same name every time
/// they are mangled. This keeps track of the number we give to anonymous
/// ones.
@@ -65,10 +61,6 @@ public:
/// strings for assembler labels.
void setUseQuotes(bool Val) { UseQuotes = Val; }
/// setPreserveAsmNames - If the mangler should not strip off the asm name
/// @verbatim identifier (\001), this should be set. @endverbatim
void setPreserveAsmNames(bool Val) { PreserveAsmNames = Val; }
/// Acceptable Characters - This allows the target to specify which characters
/// are acceptable to the assembler without being mangled. By default we
/// allow letters, numbers, '_', '$', and '.', which is what GAS accepts.