From 26468c09af320a6f3323bda1604cf3c9847b39a9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 21 Apr 2008 04:20:33 +0000 Subject: [PATCH] fix a bug introduced by Nicholas' "unwinds to" stuff: we lost newlines between blocks. llvm-svn: 50024 --- lib/VMCore/AsmWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 2eb37db7e68..30682678857 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -1164,7 +1164,7 @@ void AssemblyWriter::printArgument(const Argument *Arg, /// void AssemblyWriter::printBasicBlock(const BasicBlock *BB) { if (BB->hasName()) // Print out the label if it exists... - Out << getLLVMName(BB->getName(), LabelPrefix) << ':'; + Out << '\n' << getLLVMName(BB->getName(), LabelPrefix) << ':'; if (const BasicBlock* unwindDest = BB->getUnwindDest()) { if (BB->hasName()) @@ -1175,7 +1175,7 @@ void AssemblyWriter::printBasicBlock(const BasicBlock *BB) { } if (!BB->hasName() && !BB->use_empty()) { // Don't print block # of no uses... - Out << ";