Emit newlines at the end of instructions too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84348 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2009-10-17 19:43:45 +00:00
parent 4dee7fd2c2
commit 2bb6f6ae7a

View File

@ -339,10 +339,10 @@ namespace {
void WriteValue(const Value *V) {
if (!V) return;
if (isa<Instruction>(V)) {
MessagesStr << *V;
MessagesStr << *V << '\n';
} else {
WriteAsOperand(MessagesStr, V, true, Mod);
MessagesStr << "\n";
MessagesStr << '\n';
}
}