aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/EquivClassGraphs.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/EquivClassGraphs.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/EquivClassGraphs.cpp')
-rw-r--r--lib/Analysis/DataStructure/EquivClassGraphs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/DataStructure/EquivClassGraphs.cpp b/lib/Analysis/DataStructure/EquivClassGraphs.cpp
index 8dc2064810..8e69291cdb 100644
--- a/lib/Analysis/DataStructure/EquivClassGraphs.cpp
+++ b/lib/Analysis/DataStructure/EquivClassGraphs.cpp
@@ -120,6 +120,7 @@ bool EquivClassGraphs::runOnModule(Module &M) {
if (isa<GlobalVariable>(*I))
RC.getClonedNH(GG.getNodeForValue(*I));
+ MainGraph.maskIncompleteMarkers();
MainGraph.markIncompleteNodes(DSGraph::MarkFormalArgs |
DSGraph::IgnoreGlobals);
}