aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/CodeGen/AsmPrinter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp
index 7e07d84800..4cda0dd3b5 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