aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/GRExprEngine.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-12-09 05:48:53 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-12-09 05:48:53 +0000
commit9f68ea2a150b3e7a9c97aa4a79ce559550945cae (patch)
treebbd4237d3b8f2319aece66b1c33e716d3c0784ac /lib/Analysis/GRExprEngine.cpp
parent772fffa2349524dbcad59dbfec7b71a47be229e6 (diff)
Insert instead of assign to the dest node set, since we use the dest node set
repeatedly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r--lib/Analysis/GRExprEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp
index 6104781007..dc317cf368 100644
--- a/lib/Analysis/GRExprEngine.cpp
+++ b/lib/Analysis/GRExprEngine.cpp
@@ -1688,7 +1688,7 @@ void GRExprEngine::VisitCallRec(CallExpr* CE, ExplodedNode* Pred,
// If the callee is processed by a checker, skip the rest logic.
if (CheckerEvalCall(CE, DstChecker, *DI))
- DstTmp3 = DstChecker;
+ DstTmp3.insert(DstChecker);
else {
for (ExplodedNodeSet::iterator DI_Checker = DstChecker.begin(),
DE_Checker = DstChecker.end();