From b9a4578df5e240d2e2e5d3f1f538188a054d70b4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 7 Jun 2001 16:58:55 +0000 Subject: [PATCH] Fixed to print slightly differently. Added use counts for labels git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/AsmWriter.cpp | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index e23403b0d0d..7ff410d1f86 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -129,15 +129,16 @@ bool AssemblyWriter::processMethodArgument(const MethodArgument *Arg) { // bool AssemblyWriter::processBasicBlock(const BasicBlock *BB) { if (BB->hasName()) { // Print out the label if it exists... - Out << "\n" << BB->getName() << ":\n"; + Out << "\n" << BB->getName() << ":"; } else { int Slot = Table.getValSlot(BB); - Out << "\t\t\t\t;