Revert r89437 and add a comment.

llvm-svn: 89446
This commit is contained in:
Zhongxing Xu 2009-11-20 03:50:46 +00:00
parent fa559f46c4
commit ab0ae2139a
1 changed files with 2 additions and 1 deletions

View File

@ -1278,7 +1278,8 @@ void GRExprEngine::EvalLocation(ExplodedNodeSet &Dst, Stmt *S,
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;
}