diff options
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"); |