summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfo.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-11-13 14:01:59 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-11-13 14:01:59 +0000
commitfdc88137f4882850a3b31b686ca9b63cb2ab6a48 (patch)
tree49c99b1b49ef8beaad90746ba2cfc70e12a8bd04 /llvm/lib/MC/MCAsmInfo.cpp
parent156227ac2bcac239f9dfd0a8314b6efcae9021b0 (diff)
downloadbcm5719-llvm-fdc88137f4882850a3b31b686ca9b63cb2ab6a48.tar.gz
bcm5719-llvm-fdc88137f4882850a3b31b686ca9b63cb2ab6a48.zip
Remove AllowQuotesInName and friends from MCAsmInfo.
Accepting quotes is a property of an assembler, not of an object file. For example, ELF can support any names for sections and symbols, but the gnu assembler only accepts quotes in some contexts and llvm-mc in a few more. LLVM should not produce different symbols based on a guess about which assembler will be reading the code it is printing. llvm-svn: 194575
Diffstat (limited to 'llvm/lib/MC/MCAsmInfo.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfo.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCAsmInfo.cpp b/llvm/lib/MC/MCAsmInfo.cpp
index fd822b589a7..28f1c951641 100644
--- a/llvm/lib/MC/MCAsmInfo.cpp
+++ b/llvm/lib/MC/MCAsmInfo.cpp
@@ -50,9 +50,6 @@ MCAsmInfo::MCAsmInfo() {
Code32Directive = ".code32";
Code64Directive = ".code64";
AssemblerDialect = 0;
- AllowQuotesInName = false;
- AllowNameToStartWithDigit = false;
- AllowPeriodsInName = true;
AllowAtInName = false;
UseDataRegionDirectives = false;
ZeroDirective = "\t.zero\t";
OpenPOWER on IntegriCloud