Spruce up the error output.

llvm-svn: 128451
This commit is contained in:
Bill Wendling 2011-03-29 04:28:26 +00:00
parent 12877b8a15
commit 225d9b15b5
1 changed files with 1 additions and 2 deletions

View File

@ -68,9 +68,8 @@ void DominatorTree::verifyAnalysis() const {
DominatorTree OtherDT; DominatorTree OtherDT;
OtherDT.getBase().recalculate(F); OtherDT.getBase().recalculate(F);
if (compare(OtherDT)) { if (compare(OtherDT)) {
errs() << "DominatorTree is not up to date! Computed:\n"; errs() << "DominatorTree is not up to date!\nComputed:\n";
print(errs()); print(errs());
errs() << "\nActual:\n"; errs() << "\nActual:\n";
OtherDT.print(errs()); OtherDT.print(errs());
abort(); abort();