Make sure to remove incomplete markers before we add to them! :)
llvm-svn: 20585
diff --git a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp b/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
index ba559bb..5fca3ad 100644
--- a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
+++ b/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
@@ -98,6 +98,7 @@
if (isa<GlobalVariable>(*I))
RC.getClonedNH(GG.getNodeForValue(*I));
+ MainGraph.maskIncompleteMarkers();
MainGraph.markIncompleteNodes(DSGraph::MarkFormalArgs |
DSGraph::IgnoreGlobals);
}