From: Ted Kremenek Date: Thu, 6 Aug 2009 03:39:20 +0000 (+0000) Subject: When profiling an ExplodedNode, don't re-profile the state: they have X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=619d302eba961b833a95dceeac37b810382b6708;p=clang When profiling an ExplodedNode, don't re-profile the state: they have already been uniqued. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78279 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/ExplodedGraph.cpp b/lib/Analysis/ExplodedGraph.cpp index c0c0f0636b..f80aa113e4 100644 --- a/lib/Analysis/ExplodedGraph.cpp +++ b/lib/Analysis/ExplodedGraph.cpp @@ -51,7 +51,7 @@ void ExplodedNode::Profile(llvm::FoldingSetNodeID& ID, const ProgramPoint& Loc, const GRState* state) { ID.Add(Loc); - state->Profile(ID); + ID.AddPointer(state); } void ExplodedNode::addPredecessor(ExplodedNode* V) {