From 394471f1973db98b13e97e82ed8a5beb35dd4811 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 23 Jan 2003 22:05:33 +0000 Subject: * Eliminate boolean arguments in favor of using enums * T-D pass now eliminates unreachable globals git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5419 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/Local.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Analysis/DataStructure/Local.cpp') diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp index f40080a913..93c534abcf 100644 --- a/lib/Analysis/DataStructure/Local.cpp +++ b/lib/Analysis/DataStructure/Local.cpp @@ -136,10 +136,10 @@ DSGraph::DSGraph(Function &F, DSGraph *GG) : Func(&F), GlobalsGraph(GG) { #ifndef NDEBUG Timer::addPeakMemoryMeasurement(); #endif - markIncompleteNodes(); + markIncompleteNodes(DSGraph::MarkFormalArgs); // Remove any nodes made dead due to merging... - removeDeadNodes(); + removeDeadNodes(DSGraph::KeepUnreachableGlobals); } -- cgit v1.2.3