always adds a newline, so this fixes Value::dump printing an
extra blank line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75481
91177308-0d34-0410-b5e6-
96231b3b80d8
if (AnnotationWriter) AnnotationWriter->emitBasicBlockStartAnnot(BB, Out);
// Output all of the instructions in the basic block...
- for (BasicBlock::const_iterator I = BB->begin(), E = BB->end(); I != E; ++I)
+ for (BasicBlock::const_iterator I = BB->begin(), E = BB->end(); I != E; ++I) {
printInstruction(*I);
+ Out << '\n';
+ }
if (AnnotationWriter) AnnotationWriter->emitBasicBlockEndAnnot(BB, Out);
}
}
printInfoComment(I);
- Out << '\n';
}