From: Chris Lattner Date: Thu, 17 Oct 2002 04:57:28 +0000 (+0000) Subject: Enable incompleteness marking X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=19db0492b85f6c92aebefffeb269c2078b043a3f;p=oota-llvm.git Enable incompleteness marking git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4217 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/DataStructure/TopDownClosure.cpp b/lib/Analysis/DataStructure/TopDownClosure.cpp index a5f2924ffd5..8d4b93a294e 100644 --- a/lib/Analysis/DataStructure/TopDownClosure.cpp +++ b/lib/Analysis/DataStructure/TopDownClosure.cpp @@ -176,11 +176,11 @@ DSGraph &TDDataStructures::calculateGraph(Function &F) { } -#if 0 // Recompute the Incomplete markers and eliminate unreachable nodes. Graph->maskIncompleteMarkers(); - Graph->markIncompleteNodes(/*markFormals*/ ! F.hasInternalLinkage() + Graph->markIncompleteNodes(/*markFormals*/ !F.hasInternalLinkage() /*&& FIXME: NEED TO CHECK IF ALL CALLERS FOUND!*/); +#if 0 Graph->removeDeadNodes(/*KeepAllGlobals*/ false, /*KeepCalls*/ false); #endif