[llvm-commits] [llvm] r37864 - /llvm/trunk/include/llvm/Analysis/Dominators.h
Devang Patel
dpatel at apple.com
Tue Jul 3 18:05:22 PDT 2007
Author: dpatel
Date: Tue Jul 3 20:05:22 2007
New Revision: 37864
URL: http://llvm.org/viewvc/llvm-project?rev=37864&view=rev
Log:
Fix typo in assertion check.
Modified:
llvm/trunk/include/llvm/Analysis/Dominators.h
Modified: llvm/trunk/include/llvm/Analysis/Dominators.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/Dominators.h?rev=37864&r1=37863&r2=37864&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/Dominators.h (original)
+++ llvm/trunk/include/llvm/Analysis/Dominators.h Tue Jul 3 20:05:22 2007
@@ -155,7 +155,7 @@
DomTreeNode *N = getNode(BB);
assert (N && "Missing dominator tree node");
DomTreeNode *I = N->getIDom();
- assert (N && "Missing immediate dominator");
+ assert (I && "Missing immediate dominator");
return I->getBlock();
}
More information about the llvm-commits
mailing list