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/Steensgaard.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/Steensgaard.cpp')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/Steensgaard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Steensgaard.cpp b/llvm/lib/Analysis/DataStructure/Steensgaard.cpp index 0994a224260..b6497c50722 100644 --- a/llvm/lib/Analysis/DataStructure/Steensgaard.cpp +++ b/llvm/lib/Analysis/DataStructure/Steensgaard.cpp @@ -196,10 +196,10 @@ bool Steens::run(Module &M) { // Update the "incomplete" markers on the nodes, ignoring unknownness due to // incoming arguments... ResultGraph->maskIncompleteMarkers(); - ResultGraph->markIncompleteNodes(false); + ResultGraph->markIncompleteNodes(DSGraph::IgnoreFormalArgs); // Remove any nodes that are dead after all of the merging we have done... - ResultGraph->removeDeadNodes(); + ResultGraph->removeDeadNodes(DSGraph::KeepUnreachableGlobals); DEBUG(print(std::cerr, &M)); return false; |