aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-07-15 12:39:48 +0000
committerDuncan Sands <baldrick@free.fr>2009-07-15 12:39:48 +0000
commit8cb6626df19ab54531717b419839c2a42d61f180 (patch)
tree016fa310cd890c791d06c164a99c4c668a4fbea3
parent6c05796294a7a0693d96c0c87194b9d5ddf55a94 (diff)
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
-rw-r--r--include/llvm/Target/TargetAsmInfo.h9
-rw-r--r--lib/Target/DarwinTargetAsmInfo.cpp1
-rw-r--r--lib/Target/TargetAsmInfo.cpp1
3 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index b38a2e6743..109c1e1a6c 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -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;
}
diff --git a/lib/Target/DarwinTargetAsmInfo.cpp b/lib/Target/DarwinTargetAsmInfo.cpp
index 329beff3c5..7ab3967c0d 100644
--- a/lib/Target/DarwinTargetAsmInfo.cpp
+++ b/lib/Target/DarwinTargetAsmInfo.cpp
@@ -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;
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp
index eeebc27ec2..333aa9dbbe 100644
--- a/lib/Target/TargetAsmInfo.cpp
+++ b/lib/Target/TargetAsmInfo.cpp
@@ -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;