diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-11-20 01:56:48 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-11-20 01:56:48 +0000 |
commit | 3b57dc0d78192d893f63d7b1ce67a1bc06a74b3e (patch) | |
tree | 94b80e1b6b2923131bab09648ae927b78d251217 /lib/Analysis/GRExprEngine.cpp | |
parent | 31db76cb2dde031ab3262808ac233889daf7d720 (diff) |
It's unnecessary to check for unknown at this point.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89437 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 8cc6ff9c4b..8f912c42ce 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -1278,8 +1278,7 @@ void GRExprEngine::EvalLocation(ExplodedNodeSet &Dst, Stmt *S, ExplodedNode* Pred, const GRState* state, SVal location, const void *tag, bool isLoad) { - - if (location.isUnknown() || Checkers.empty()) { + if (Checkers.empty()) { Dst.Add(Pred); return; } |