summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-02-05 07:32:18 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-02-05 07:32:18 +0000
commit675ae27e3767e47ab1afb5ef97c454202705543f (patch)
treec1f6610dc07c1c1c21ea27a188f4ff14e7402d0c
parentc6eec4018978e9d91995149e13a8466ffce15648 (diff)
downloadbcm5719-llvm-675ae27e3767e47ab1afb5ef97c454202705543f.tar.gz
bcm5719-llvm-675ae27e3767e47ab1afb5ef97c454202705543f.zip
MC: Change default comment column to 40 characters.
llvm-svn: 95378
-rw-r--r--llvm/include/llvm/MC/MCAsmInfo.h2
-rw-r--r--llvm/lib/MC/MCAsmInfo.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/MC/MCAsmInfo.h b/llvm/include/llvm/MC/MCAsmInfo.h
index 633b6019a92..3effea43539 100644
--- a/llvm/include/llvm/MC/MCAsmInfo.h
+++ b/llvm/include/llvm/MC/MCAsmInfo.h
@@ -62,7 +62,7 @@ namespace llvm {
/// CommentColumn - This indicates the comment num (zero-based) at
/// which asm comments should be printed.
- unsigned CommentColumn; // Defaults to 60
+ unsigned CommentColumn; // Defaults to 40
/// CommentString - This indicates the comment character used by the
/// assembler.
diff --git a/llvm/lib/MC/MCAsmInfo.cpp b/llvm/lib/MC/MCAsmInfo.cpp
index 74bacfc9d3f..f3f063f4e9f 100644
--- a/llvm/lib/MC/MCAsmInfo.cpp
+++ b/llvm/lib/MC/MCAsmInfo.cpp
@@ -25,7 +25,7 @@ MCAsmInfo::MCAsmInfo() {
MaxInstLength = 4;
PCSymbol = "$";
SeparatorChar = ';';
- CommentColumn = 60;
+ CommentColumn = 40;
CommentString = "#";
GlobalPrefix = "";
PrivateGlobalPrefix = ".";
OpenPOWER on IntegriCloud