From: Dan Gohman Date: Mon, 30 Jul 2007 15:06:25 +0000 (+0000) Subject: Print a space between the comment character and the basic block name, X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=286d56935c671a7d3fbf109828768618b97c5673;p=oota-llvm.git 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 --- diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 7e07d848008..4cda0dd3b56 100644 --- a/lib/CodeGen/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter.cpp @@ -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