summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-07-17 14:24:46 +0000
committerDavid Greene <greened@obbligato.org>2009-07-17 14:24:46 +0000
commit33d1e7db017a5354c50415b110a689f094e59ea5 (patch)
tree1926470453655d82ae6ee1a1ccaa115c40b0ff58 /llvm/lib
parent35e95639c0c03ab6fd2cc318f18cb42945c90448 (diff)
downloadbcm5719-llvm-33d1e7db017a5354c50415b110a689f094e59ea5.tar.gz
bcm5719-llvm-33d1e7db017a5354c50415b110a689f094e59ea5.zip
Add logic to align instruction operands to columns for pretty-printing.
No target uses this currently. This patch only adds the mechanism so that local installations can choose to enable this. llvm-svn: 76177
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/TargetAsmInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/TargetAsmInfo.cpp b/llvm/lib/Target/TargetAsmInfo.cpp
index 333aa9dbbe7..8bc436819a0 100644
--- a/llvm/lib/Target/TargetAsmInfo.cpp
+++ b/llvm/lib/Target/TargetAsmInfo.cpp
@@ -45,6 +45,8 @@ TargetAsmInfo::TargetAsmInfo(const TargetMachine &tm)
SeparatorChar = ';';
CommentColumn = 60;
CommentString = "#";
+ FirstOperandColumn = 0;
+ MaxOperandLength = 0;
GlobalPrefix = "";
PrivateGlobalPrefix = ".";
LessPrivateGlobalPrefix = "";
OpenPOWER on IntegriCloud