[cfe-commits] r90952 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp

Zhongxing Xu xuzhongxing at gmail.com
Tue Dec 8 21:48:53 PST 2009


Author: zhongxingxu
Date: Tue Dec  8 23:48:53 2009
New Revision: 90952

URL: http://llvm.org/viewvc/llvm-project?rev=90952&view=rev
Log:
Insert instead of assign to the dest node set, since we use the dest node set
repeatedly.

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=90952&r1=90951&r2=90952&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Tue Dec  8 23:48:53 2009
@@ -1688,7 +1688,7 @@
 
     // 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();





More information about the cfe-commits mailing list