diff options
author | Chris Lattner <sabre@nondot.org> | 2003-01-23 22:05:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-01-23 22:05:33 +0000 |
commit | a1d9011d6ed1ccf92ba8380bde0bdef65d893ba9 (patch) | |
tree | 6649fee192ba9b15169b61f4a15273c359321aa5 /llvm/lib/Analysis/DataStructure/Local.cpp | |
parent | 98034fa4079fecd7e506d3890412158dd7ae5711 (diff) | |
download | bcm5719-llvm-a1d9011d6ed1ccf92ba8380bde0bdef65d893ba9.tar.gz bcm5719-llvm-a1d9011d6ed1ccf92ba8380bde0bdef65d893ba9.zip |
* Eliminate boolean arguments in favor of using enums
* T-D pass now eliminates unreachable globals
llvm-svn: 5419
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/Local.cpp')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/Local.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Local.cpp b/llvm/lib/Analysis/DataStructure/Local.cpp index f40080a9139..93c534abcf8 100644 --- a/llvm/lib/Analysis/DataStructure/Local.cpp +++ b/llvm/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); } |