diff options
author | Dan Gohman <gohman@apple.com> | 2009-12-04 23:19:55 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-12-04 23:19:55 +0000 |
commit | fcafe44f564f61016dd2f9367d93c91dfda74c96 (patch) | |
tree | bafa98248706713a1777be47c23b115b8d3ad915 /lib | |
parent | e98be31e7fd923a4f2385fd8a0ca54be9c6a4349 (diff) | |
download | external_llvm-fcafe44f564f61016dd2f9367d93c91dfda74c96.zip external_llvm-fcafe44f564f61016dd2f9367d93c91dfda74c96.tar.gz external_llvm-fcafe44f564f61016dd2f9367d93c91dfda74c96.tar.bz2 |
Print a space between the comment character and the text.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 35892ab..5e54e67 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -1863,7 +1863,7 @@ void AsmPrinter::EmitComments(const MachineInstr &MI) const { MMO = *MI.memoperands_begin(); if (Newline) O << '\n'; O.PadToColumn(MAI->getCommentColumn()); - O << MAI->getCommentString() << MMO->getSize() << "-byte Reload"; + O << MAI->getCommentString() << ' ' << MMO->getSize() << "-byte Reload"; Newline = true; } } @@ -1871,7 +1871,8 @@ void AsmPrinter::EmitComments(const MachineInstr &MI) const { if (FrameInfo->isSpillSlotObjectIndex(FI)) { if (Newline) O << '\n'; O.PadToColumn(MAI->getCommentColumn()); - O << MAI->getCommentString() << MMO->getSize() << "-byte Folded Reload"; + O << MAI->getCommentString() << ' ' + << MMO->getSize() << "-byte Folded Reload"; Newline = true; } } @@ -1880,7 +1881,7 @@ void AsmPrinter::EmitComments(const MachineInstr &MI) const { MMO = *MI.memoperands_begin(); if (Newline) O << '\n'; O.PadToColumn(MAI->getCommentColumn()); - O << MAI->getCommentString() << MMO->getSize() << "-byte Spill"; + O << MAI->getCommentString() << ' ' << MMO->getSize() << "-byte Spill"; Newline = true; } } @@ -1888,7 +1889,8 @@ void AsmPrinter::EmitComments(const MachineInstr &MI) const { if (FrameInfo->isSpillSlotObjectIndex(FI)) { if (Newline) O << '\n'; O.PadToColumn(MAI->getCommentColumn()); - O << MAI->getCommentString() << MMO->getSize() << "-byte Folded Spill"; + O << MAI->getCommentString() << ' ' + << MMO->getSize() << "-byte Folded Spill"; Newline = true; } } |