summaryrefslogtreecommitdiff
path: root/lib/MC/MCAsmInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-26 20:40:54 +0000
committerChris Lattner <sabre@nondot.org>2010-01-26 20:40:54 +0000
commitcee63322eaccc2f1067bdf5eab506e440f867da1 (patch)
tree940f80c27df82f5e4ccba4a33aa3b72d90f357fa /lib/MC/MCAsmInfo.cpp
parent2a531673b95639174da449402f6609e7d5a14d2d (diff)
downloadllvm-cee63322eaccc2f1067bdf5eab506e440f867da1.tar.gz
llvm-cee63322eaccc2f1067bdf5eab506e440f867da1.tar.bz2
llvm-cee63322eaccc2f1067bdf5eab506e440f867da1.tar.xz
Eliminate SetDirective, and replace it with HasSetDirective.
Default HasSetDirective to true, since most targets have it. The targets that claim to not have it probably do, or it is spelled differently. These include Blackfin, Mips, Alpha, and PIC16. All of these except pic16 are normal ELF targets, so they almost certainly have it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfo.cpp')
-rw-r--r--lib/MC/MCAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCAsmInfo.cpp b/lib/MC/MCAsmInfo.cpp
index 12d2fcbadc..74bacfc9d3 100644
--- a/lib/MC/MCAsmInfo.cpp
+++ b/lib/MC/MCAsmInfo.cpp
@@ -49,7 +49,7 @@ MCAsmInfo::MCAsmInfo() {
TextAlignFillValue = 0;
GPRel32Directive = 0;
GlobalDirective = "\t.globl\t";
- SetDirective = 0;
+ HasSetDirective = true;
HasLCOMMDirective = false;
COMMDirectiveAlignmentIsInBytes = true;
HasDotTypeDotSizeDirective = true;