diff options
Diffstat (limited to 'lib/Analysis/DataStructure/TopDownClosure.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/TopDownClosure.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Analysis/DataStructure/TopDownClosure.cpp b/lib/Analysis/DataStructure/TopDownClosure.cpp index 8d4b93a294..5312bba198 100644 --- a/lib/Analysis/DataStructure/TopDownClosure.cpp +++ b/lib/Analysis/DataStructure/TopDownClosure.cpp @@ -165,13 +165,6 @@ DSGraph &TDDataStructures::calculateGraph(Function &F) { } ResolveCallSite(*Graph, CallSite); - -#if 0 - // If its not a self-recursive call, merge global nodes in the inlined - // graph with the corresponding global nodes in the current graph - if (&caller != &callee) - MergeGlobalNodes(calleeGraph, OldValMap); -#endif } } @@ -180,9 +173,7 @@ DSGraph &TDDataStructures::calculateGraph(Function &F) { Graph->maskIncompleteMarkers(); Graph->markIncompleteNodes(/*markFormals*/ !F.hasInternalLinkage() /*&& FIXME: NEED TO CHECK IF ALL CALLERS FOUND!*/); -#if 0 Graph->removeDeadNodes(/*KeepAllGlobals*/ false, /*KeepCalls*/ false); -#endif DEBUG(std::cerr << " [TD] Done inlining callers for: " << F.getName() << " [" << Graph->getGraphSize() << "+" << Graph->getFunctionCalls().size() |