Add newlines.
authorNick Lewycky <nicholas@mxc.ca>
Fri, 18 Sep 2009 07:36:47 +0000 (07:36 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 18 Sep 2009 07:36:47 +0000 (07:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82206 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/SparsePropagation.cpp

index 8db607189c3be4f3e109a6adbeb9d2b068c5b3b2..17bb73f991e48f2ea3e5849f4ce577cb37ea5e88 100644 (file)
@@ -285,7 +285,7 @@ void SparseSolver::Solve(Function &F) {
       Instruction *I = InstWorkList.back();
       InstWorkList.pop_back();
 
-      DEBUG(errs() << "\nPopped off I-WL: " << *I);
+      DEBUG(errs() << "\nPopped off I-WL: " << *I << "\n");
 
       // "I" got into the work list because it made a transition.  See if any
       // users are both live and in need of updating.
@@ -324,7 +324,7 @@ void SparseSolver::Print(Function &F, raw_ostream &OS) const {
       OS << "; anon bb\n";
     for (BasicBlock::iterator I = BB->begin(), E = BB->end(); I != E; ++I) {
       LatticeFunc->PrintValue(getLatticeState(I), OS);
-      OS << *I;
+      OS << *I << "\n";
     }
     
     OS << "\n";