aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/CompleteBottomUp.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-13 20:32:26 +0000
committerChris Lattner <sabre@nondot.org>2005-03-13 20:32:26 +0000
commit270cf5025e8a0bfd81528d2090353e49ea41f848 (patch)
tree8d5e3a3b60cdad754c97b3314aaa4e1a2991870d /lib/Analysis/DataStructure/CompleteBottomUp.cpp
parentb5ecd2e378fbc994c458980177b76c2f499e5cc7 (diff)
Make sure to remove incomplete markers before we add to them! :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/CompleteBottomUp.cpp')
-rw-r--r--lib/Analysis/DataStructure/CompleteBottomUp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/DataStructure/CompleteBottomUp.cpp b/lib/Analysis/DataStructure/CompleteBottomUp.cpp
index 77a5f32fa5..e38aebfb81 100644
--- a/lib/Analysis/DataStructure/CompleteBottomUp.cpp
+++ b/lib/Analysis/DataStructure/CompleteBottomUp.cpp
@@ -107,6 +107,7 @@ bool CompleteBUDataStructures::runOnModule(Module &M) {
if (isa<GlobalVariable>(*I))
RC.getClonedNH(GG.getNodeForValue(*I));
+ MainGraph.maskIncompleteMarkers();
MainGraph.markIncompleteNodes(DSGraph::MarkFormalArgs |
DSGraph::IgnoreGlobals);
}