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
diff --git a/lib/Analysis/DataStructure/CompleteBottomUp.cpp b/lib/Analysis/DataStructure/CompleteBottomUp.cpp
index 77a5f32..e38aebf 100644
--- a/lib/Analysis/DataStructure/CompleteBottomUp.cpp
+++ b/lib/Analysis/DataStructure/CompleteBottomUp.cpp
@@ -107,6 +107,7 @@
       if (isa<GlobalVariable>(*I))
         RC.getClonedNH(GG.getNodeForValue(*I));
 
+    MainGraph.maskIncompleteMarkers();
     MainGraph.markIncompleteNodes(DSGraph::MarkFormalArgs | 
                                   DSGraph::IgnoreGlobals);
   }