diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-17 15:27:30 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-17 15:27:30 +0000 |
commit | e04853ca7830aa88d0394772fceb5bc637f1c0df (patch) | |
tree | 13db7cbedfc6022d61714727ca2e093b1918d1c9 /lib/VMCore/AsmWriter.cpp | |
parent | 873257723084bad749c1cc13a2d35b35c229942e (diff) | |
download | external_llvm-e04853ca7830aa88d0394772fceb5bc637f1c0df.zip external_llvm-e04853ca7830aa88d0394772fceb5bc637f1c0df.tar.gz external_llvm-e04853ca7830aa88d0394772fceb5bc637f1c0df.tar.bz2 |
Always print at least one space before adding a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79242 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/AsmWriter.cpp')
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 68a4522..82358e9 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -1690,11 +1690,11 @@ void AssemblyWriter::printBasicBlock(const BasicBlock *BB) { } if (BB->getParent() == 0) { - Out.PadToColumn(50); + Out.PadToColumn(50, 1); Out << "; Error: Block without parent!"; } else if (BB != &BB->getParent()->getEntryBlock()) { // Not the entry block? // Output predecessors for the block... - Out.PadToColumn(50); + Out.PadToColumn(50, 1); Out << ";"; pred_const_iterator PI = pred_begin(BB), PE = pred_end(BB); @@ -1729,7 +1729,7 @@ void AssemblyWriter::printBasicBlock(const BasicBlock *BB) { /// void AssemblyWriter::printInfoComment(const Value &V) { if (V.getType() != Type::getVoidTy(V.getContext())) { - Out.PadToColumn(50); + Out.PadToColumn(50, 1); Out << "; <"; TypePrinter.print(V.getType(), Out); Out << "> [#uses=" << V.getNumUses() << ']'; // Output # uses |