projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06dd2a6
)
Print a space between the comment character and the basic block name,
author
Dan Gohman
<gohman@apple.com>
Mon, 30 Jul 2007 15:06:25 +0000
(15:06 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 30 Jul 2007 15:06:25 +0000
(15:06 +0000)
for prettiness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40593
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter.cpp
index 7e07d8480088f9df065970d473e47bb9954ceeb0..4cda0dd3b564b03040f5510c6b481bdc514f5c8a 100644
(file)
--- 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