From 86051690ea627a223836c491e89aa6ddb75b9ab8 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 16 Apr 2008 22:30:40 +0000 Subject: Bug fix in GREndPathNodeBuilderImpl: Use the specified state to construct a node, not the state of the predecessor. llvm-svn: 49823 --- clang/lib/Analysis/GRCoreEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Analysis') diff --git a/clang/lib/Analysis/GRCoreEngine.cpp b/clang/lib/Analysis/GRCoreEngine.cpp index 42c89270f90..ffb2fd2feba 100644 --- a/clang/lib/Analysis/GRCoreEngine.cpp +++ b/clang/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); -- cgit v1.2.3