Author: djg
Date: Mon Jul 30 10:06:25 2007
New Revision: 40593
URL: http://llvm.org/viewvc/llvm-project?rev=40593&view=rev
Log:
Print a space between the comment character and the basic block name,
for prettiness.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter.cpp
URL:
http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter.cpp?rev=40593&r1=40592&r2=40593&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter.cpp Mon Jul 30 10:06:25 2007
@@ -1144,7 +1144,8 @@
if (printColon)
O << ':';
if (printComment && MBB->getBasicBlock())
- O << '\t' << TAI->getCommentString() << MBB->getBasicBlock()->getName();
+ O << '\t' << TAI->getCommentString() << ' '
+ << MBB->getBasicBlock()->getName();
}
/// printSetLabel - This method prints a set label for the specified
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits