[llvm-commits] [poolalloc] r125248 - /poolalloc/trunk/lib/DSA/TopDownClosure.cpp
Arushi Aggarwal
aggarwa4 at illinois.edu
Wed Feb 9 16:39:08 PST 2011
Author: aggarwa4
Date: Wed Feb 9 18:39:08 2011
New Revision: 125248
URL: http://llvm.org/viewvc/llvm-project?rev=125248&view=rev
Log:
removeDeadNodes updates the globals graph with the
flags on globals in the local graph. Hence, compute
the flags before calling removeDeadNodes.
Modified:
poolalloc/trunk/lib/DSA/TopDownClosure.cpp
Modified: poolalloc/trunk/lib/DSA/TopDownClosure.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/TopDownClosure.cpp?rev=125248&r1=125247&r2=125248&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/TopDownClosure.cpp (original)
+++ poolalloc/trunk/lib/DSA/TopDownClosure.cpp Wed Feb 9 18:39:08 2011
@@ -177,11 +177,11 @@
cloneGlobalsInto(Graph, DSGraph::DontCloneCallNodes |
DSGraph::DontCloneAuxCallNodes);
- // Clean up uninteresting nodes
- Graph->removeDeadNodes(0);
Graph->computeExternalFlags(DSGraph::DontMarkFormalsExternal);
Graph->computeIntPtrFlags();
+ // Clean up uninteresting nodes
+ Graph->removeDeadNodes(0);
}
}
More information about the llvm-commits
mailing list