diff options
Diffstat (limited to 'lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index f0aa304..6238d16 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -1639,8 +1639,8 @@ void AsmPrinter::printBasicBlockLabel(const MachineBasicBlock *MBB, if (const BasicBlock *BB = MBB->getBasicBlock()) if (BB->hasName()) { O.PadToColumn(TAI->getCommentColumn(), 1); - O << TAI->getCommentString() << ' ' - << MBB->getBasicBlock()->getName(); + O << TAI->getCommentString() << ' '; + WriteAsOperand(O, BB, /*PrintType=*/false); } if (printColon) |