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

for prettiness.

llvm-svn: 40593
This commit is contained in:
Dan Gohman 2007-07-30 15:06:25 +00:00
parent 941e2efd55
commit 33d0ea2597
1 changed files with 2 additions and 1 deletions

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