[cfe-commits] r89446 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp
Zhongxing Xu
xuzhongxing at gmail.com
Thu Nov 19 19:50:46 PST 2009
Author: zhongxingxu
Date: Thu Nov 19 21:50:46 2009
New Revision: 89446
URL: http://llvm.org/viewvc/llvm-project?rev=89446&view=rev
Log:
Revert r89437 and add a comment.
Modified:
cfe/trunk/lib/Analysis/GRExprEngine.cpp
Modified: cfe/trunk/lib/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngine.cpp?rev=89446&r1=89445&r2=89446&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Thu Nov 19 21:50:46 2009
@@ -1278,7 +1278,8 @@
ExplodedNode* Pred,
const GRState* state, SVal location,
const void *tag, bool isLoad) {
- if (Checkers.empty()) {
+ // Early checks for performance reason.
+ if (location.isUnknown() || Checkers.empty()) {
Dst.Add(Pred);
return;
}
More information about the cfe-commits
mailing list