Print a space between the comment character and the basic block name,

for prettiness.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40593 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2007-07-30 15:06:25 +00:00
parent 06dd2a68e1
commit 286d56935c

View File

@ -1144,7 +1144,8 @@ void AsmPrinter::printBasicBlockLabel(const MachineBasicBlock *MBB,
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