Fix a bug that was preventing povray and namd from pool allocating correctly.
authorChris Lattner <sabre@nondot.org>
Mon, 8 Nov 2004 21:08:46 +0000 (21:08 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 8 Nov 2004 21:08:46 +0000 (21:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17632 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/BottomUpClosure.cpp

index a358cc5f9104494c50a07c5da3c0f692dce16dd7..67938b7cde59eb3d199f1e75fa72816136ff16d2 100644 (file)
@@ -205,7 +205,7 @@ unsigned BUDataStructures::calculateGraphs(Function *F,
     }
 
     // Clean up the graph before we start inlining a bunch again...
-    SCCGraph->removeDeadNodes(DSGraph::RemoveUnreachableGlobals);
+    SCCGraph->removeDeadNodes(DSGraph::KeepUnreachableGlobals);
 
     // Now that we have one big happy family, resolve all of the call sites in
     // the graph...