From 5eb1044ec1dad83abb70abf654acf69344557ed2 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 16 Apr 2008 22:30:40 +0000 Subject: [PATCH] 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 --- lib/Analysis/GRCoreEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0