From: Ted Kremenek Date: Wed, 16 Apr 2008 22:30:40 +0000 (+0000) Subject: Bug fix in GREndPathNodeBuilderImpl: Use the specified state to construct X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5eb1044ec1dad83abb70abf654acf69344557ed2;p=clang Bug fix in GREndPathNodeBuilderImpl: Use the specified state to construct a node, not the state of the predecessor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49823 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/GRCoreEngine.cpp b/lib/Analysis/GRCoreEngine.cpp index 42c89270f9..ffb2fd2feb 100644 --- a/lib/Analysis/GRCoreEngine.cpp +++ b/lib/Analysis/GRCoreEngine.cpp @@ -448,7 +448,7 @@ ExplodedNodeImpl* GREndPathNodeBuilderImpl::generateNodeImpl(void* State) { bool IsNew; ExplodedNodeImpl* Node = - Eng.G->getNodeImpl(BlockEntrance(&B), Pred->State, &IsNew); + Eng.G->getNodeImpl(BlockEntrance(&B), State, &IsNew); Node->addPredecessor(Pred);