Remove StringConstantPrefix now that the only user

(llvm-gcc) has gone.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75781 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2009-07-15 12:39:48 +00:00
parent 6c05796294
commit 8cb6626df1
3 changed files with 0 additions and 11 deletions

View File

@ -275,12 +275,6 @@ namespace llvm {
/// AssemblerDialect - Which dialect of an assembler variant to use.
unsigned AssemblerDialect; // Defaults to 0
/// StringConstantPrefix - Prefix for FEs to use when generating unnamed
/// constant strings. These names get run through the Mangler later; if
/// you want the Mangler not to add the GlobalPrefix as well,
/// use '\1' as the first character.
const char *StringConstantPrefix; // Defaults to ".str"
/// AllowQuotesInName - This is true if the assembler allows for complex
/// symbol names to be surrounded in quotes. This defaults to false.
bool AllowQuotesInName;
@ -751,9 +745,6 @@ namespace llvm {
unsigned getAssemblerDialect() const {
return AssemblerDialect;
}
const char *getStringConstantPrefix() const {
return StringConstantPrefix;
}
bool doesAllowQuotesInName() const {
return AllowQuotesInName;
}

View File

@ -58,7 +58,6 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const TargetMachine &TM)
GlobalPrefix = "_";
PrivateGlobalPrefix = "L";
LessPrivateGlobalPrefix = "l"; // Marker for some ObjC metadata
StringConstantPrefix = "\1LC";
NeedsSet = true;
NeedsIndirectEncoding = true;
AllowQuotesInName = true;

View File

@ -59,7 +59,6 @@ TargetAsmInfo::TargetAsmInfo(const TargetMachine &tm)
InlineAsmStart = "#APP";
InlineAsmEnd = "#NO_APP";
AssemblerDialect = 0;
StringConstantPrefix = ".str";
AllowQuotesInName = false;
ZeroDirective = "\t.zero\t";
ZeroDirectiveSuffix = 0;