[cfe-commits] r78279 - /cfe/trunk/lib/Analysis/ExplodedGraph.cpp
Ted Kremenek
kremenek at apple.com
Wed Aug 5 20:39:26 PDT 2009
Author: kremenek
Date: Wed Aug 5 22:39:20 2009
New Revision: 78279
URL: http://llvm.org/viewvc/llvm-project?rev=78279&view=rev
Log:
When profiling an ExplodedNode, don't re-profile the state: they have
already been uniqued.
Modified:
cfe/trunk/lib/Analysis/ExplodedGraph.cpp
Modified: cfe/trunk/lib/Analysis/ExplodedGraph.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/ExplodedGraph.cpp?rev=78279&r1=78278&r2=78279&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/ExplodedGraph.cpp (original)
+++ cfe/trunk/lib/Analysis/ExplodedGraph.cpp Wed Aug 5 22:39:20 2009
@@ -51,7 +51,7 @@
const ProgramPoint& Loc,
const GRState* state) {
ID.Add(Loc);
- state->Profile(ID);
+ ID.AddPointer(state);
}
void ExplodedNode::addPredecessor(ExplodedNode* V) {
More information about the cfe-commits
mailing list