Use insert to avoid destroying existing nodes.

llvm-svn: 91258
This commit is contained in:
Zhongxing Xu 2009-12-14 02:13:39 +00:00
parent e66e2942fc
commit cf86de4067
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ void GRExprEngine::ProcessStmt(Stmt* S, GRStmtNodeBuilder& builder) {
CleanedState, SymReaper);
if (Checkers.empty())
Tmp = Tmp2;
Tmp.insert(Tmp2);
else {
ExplodedNodeSet Tmp3;
ExplodedNodeSet *SrcSet = &Tmp2;