summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure/Steensgaard.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-23 22:05:33 +0000
committerChris Lattner <sabre@nondot.org>2003-01-23 22:05:33 +0000
commita1d9011d6ed1ccf92ba8380bde0bdef65d893ba9 (patch)
tree6649fee192ba9b15169b61f4a15273c359321aa5 /llvm/lib/Analysis/DataStructure/Steensgaard.cpp
parent98034fa4079fecd7e506d3890412158dd7ae5711 (diff)
downloadbcm5719-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.cpp4
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;
OpenPOWER on IntegriCloud