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

Zhongxing Xu xuzhongxing at gmail.com
Sun Dec 13 18:13:39 PST 2009


Author: zhongxingxu
Date: Sun Dec 13 20:13:39 2009
New Revision: 91258

URL: http://llvm.org/viewvc/llvm-project?rev=91258&view=rev
Log:
Use insert to avoid destroying existing nodes.

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=91258&r1=91257&r2=91258&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Sun Dec 13 20:13:39 2009
@@ -418,7 +418,7 @@
                             CleanedState, SymReaper);
 
     if (Checkers.empty())
-      Tmp = Tmp2;
+      Tmp.insert(Tmp2);
     else {
       ExplodedNodeSet Tmp3;
       ExplodedNodeSet *SrcSet = &Tmp2;





More information about the cfe-commits mailing list