forked from OSchip/llvm-project
Append a newline when dumping a Value.
This is more consistent with other dump methods. Otherwise successive Value dumps are concatenated in same line, hurting readability. PiperOrigin-RevId: 271669846
This commit is contained in:
parent
b569c969f0
commit
5f8dff936b
|
@ -1746,7 +1746,10 @@ void Value::print(raw_ostream &os) {
|
|||
}
|
||||
}
|
||||
|
||||
void Value::dump() { print(llvm::errs()); }
|
||||
void Value::dump() {
|
||||
print(llvm::errs());
|
||||
llvm::errs() << "\n";
|
||||
}
|
||||
|
||||
void Operation::print(raw_ostream &os) {
|
||||
// Handle top-level operations.
|
||||
|
|
Loading…
Reference in New Issue