summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2011-01-09 16:00:09 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2011-01-09 16:00:09 +0000
commit3a723ab344d9835506ed2b52a2ccd75078670fc7 (patch)
treec71f506c32d7937464c8e25df4b5c231f768a20f /include
parent2c5e0b8b981dc9d1ea575037b9befa8c3b6102b8 (diff)
downloadllvm-3a723ab344d9835506ed2b52a2ccd75078670fc7.tar.gz
llvm-3a723ab344d9835506ed2b52a2ccd75078670fc7.tar.bz2
llvm-3a723ab344d9835506ed2b52a2ccd75078670fc7.tar.xz
DominatorTree->print() now prints the status of the DFSNumbers correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/Dominators.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h
index 3515e35b1f..5e86e2b67a 100644
--- a/include/llvm/Analysis/Dominators.h
+++ b/include/llvm/Analysis/Dominators.h
@@ -555,7 +555,7 @@ public:
o << "Inorder PostDominator Tree: ";
else
o << "Inorder Dominator Tree: ";
- if (this->DFSInfoValid)
+ if (!this->DFSInfoValid)
o << "DFSNumbers invalid: " << SlowQueries << " slow queries.";
o << "\n";