diff options
author | Dan Gohman <gohman@apple.com> | 2007-07-30 15:06:25 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-07-30 15:06:25 +0000 |
commit | 286d56935c671a7d3fbf109828768618b97c5673 (patch) | |
tree | e212808f8978bf4197a1586575e85c032f474084 /lib/CodeGen | |
parent | 06dd2a68e12a8c278faaf9cbf76ddf6d9e2d696d (diff) | |
download | external_llvm-286d56935c671a7d3fbf109828768618b97c5673.zip external_llvm-286d56935c671a7d3fbf109828768618b97c5673.tar.gz external_llvm-286d56935c671a7d3fbf109828768618b97c5673.tar.bz2 |
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/AsmPrinter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 7e07d84..4cda0dd 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 |