From f2f80282cbabf1f2d7e5259edf40eac5c38d548c 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 llvm-svn: 9 --- 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;