[llvm-commits] [llvm] r90621 - /llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Dan Gohman
gohman at apple.com
Fri Dec 4 15:19:55 PST 2009
Author: djg
Date: Fri Dec 4 17:19:55 2009
New Revision: 90621
URL: http://llvm.org/viewvc/llvm-project?rev=90621&view=rev
Log:
Print a space between the comment character and the text.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp?rev=90621&r1=90620&r2=90621&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp Fri Dec 4 17:19:55 2009
@@ -1863,7 +1863,7 @@
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 @@
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 @@
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 @@
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;
}
}
More information about the llvm-commits
mailing list