From 286d56935c671a7d3fbf109828768618b97c5673 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 30 Jul 2007 15:06:25 +0000 Subject: [PATCH] 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 --- lib/CodeGen/AsmPrinter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.34.1