]> granicus.if.org Git - clang/commitdiff
Bug fix in GREndPathNodeBuilderImpl: Use the specified state to construct
authorTed Kremenek <kremenek@apple.com>
Wed, 16 Apr 2008 22:30:40 +0000 (22:30 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 16 Apr 2008 22:30:40 +0000 (22:30 +0000)
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

index 42c89270f9079944254f6c7783f9d85441546eaf..ffb2fd2feba55790419c27bddc80baac1de1f313 100644 (file)
@@ -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);