diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-09 21:00:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-09 21:00:49 +0000 |
commit | 65f2897f2c6f25de147fdcf9dcf4b5f9650b32ce (patch) | |
tree | f404f07771cb46b99f09c11761cb8b6d3bd8343a /lib/Analysis/DataStructure/BottomUpClosure.cpp | |
parent | 96517253a1d26c9248ff42065f118d41f3835fc0 (diff) |
Clean up DSGraph::removeDeadNodes interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/BottomUpClosure.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/BottomUpClosure.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index 1a3f48002f..d57b6186f8 100644 --- a/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp @@ -150,16 +150,10 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) { if (Inlined) { Graph->maskIncompleteMarkers(); Graph->markIncompleteNodes(); - Graph->removeDeadNodes(/*KeepAllGlobals*/ true, /*KeepCalls*/ true); + Graph->removeDeadNodes(/*KeepAllGlobals*/ true); } } while (Inlined && !FCs.empty()); -#if 0 - Graph->maskIncompleteMarkers(); - Graph->markIncompleteNodes(); - Graph->removeDeadNodes(/*KeepAllGlobals*/ true, /*KeepCalls*/ true); -#endif - DEBUG(std::cerr << " [BU] Done inlining: " << F.getName() << " [" << Graph->getGraphSize() << "+" << Graph->getFunctionCalls().size() << "]\n"); |