[llvm-commits] [llvm] r75781 - in /llvm/trunk: include/llvm/Target/TargetAsmInfo.h lib/Target/DarwinTargetAsmInfo.cpp lib/Target/TargetAsmInfo.cpp
Duncan Sands
baldrick at free.fr
Wed Jul 15 05:40:05 PDT 2009
Author: baldrick
Date: Wed Jul 15 07:39:48 2009
New Revision: 75781
URL: http://llvm.org/viewvc/llvm-project?rev=75781&view=rev
Log:
Remove StringConstantPrefix now that the only user
(llvm-gcc) has gone.
Modified:
llvm/trunk/include/llvm/Target/TargetAsmInfo.h
llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp
llvm/trunk/lib/Target/TargetAsmInfo.cpp
Modified: llvm/trunk/include/llvm/Target/TargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetAsmInfo.h?rev=75781&r1=75780&r2=75781&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetAsmInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetAsmInfo.h Wed Jul 15 07:39:48 2009
@@ -275,12 +275,6 @@
/// 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 @@
unsigned getAssemblerDialect() const {
return AssemblerDialect;
}
- const char *getStringConstantPrefix() const {
- return StringConstantPrefix;
- }
bool doesAllowQuotesInName() const {
return AllowQuotesInName;
}
Modified: llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp?rev=75781&r1=75780&r2=75781&view=diff
==============================================================================
--- llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/DarwinTargetAsmInfo.cpp Wed Jul 15 07:39:48 2009
@@ -58,7 +58,6 @@
GlobalPrefix = "_";
PrivateGlobalPrefix = "L";
LessPrivateGlobalPrefix = "l"; // Marker for some ObjC metadata
- StringConstantPrefix = "\1LC";
NeedsSet = true;
NeedsIndirectEncoding = true;
AllowQuotesInName = true;
Modified: llvm/trunk/lib/Target/TargetAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetAsmInfo.cpp?rev=75781&r1=75780&r2=75781&view=diff
==============================================================================
--- llvm/trunk/lib/Target/TargetAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/TargetAsmInfo.cpp Wed Jul 15 07:39:48 2009
@@ -59,7 +59,6 @@
InlineAsmStart = "#APP";
InlineAsmEnd = "#NO_APP";
AssemblerDialect = 0;
- StringConstantPrefix = ".str";
AllowQuotesInName = false;
ZeroDirective = "\t.zero\t";
ZeroDirectiveSuffix = 0;
More information about the llvm-commits
mailing list