From 9f68ea2a150b3e7a9c97aa4a79ce559550945cae Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Wed, 9 Dec 2009 05:48:53 +0000 Subject: [PATCH] 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 --- lib/Analysis/GRExprEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.50.1