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/EquivClassGraphs.cpp b/lib/Analysis/DataStructure/EquivClassGraphs.cpp
index 8dc2064..8e69291 100644
--- a/lib/Analysis/DataStructure/EquivClassGraphs.cpp
+++ b/lib/Analysis/DataStructure/EquivClassGraphs.cpp
@@ -120,6 +120,7 @@
       if (isa<GlobalVariable>(*I))
         RC.getClonedNH(GG.getNodeForValue(*I));
 
+    MainGraph.maskIncompleteMarkers();
     MainGraph.markIncompleteNodes(DSGraph::MarkFormalArgs | 
                                   DSGraph::IgnoreGlobals);
   }