summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb9e2a4dec0e32e2bb966be1c761adfdb687f1454 (patch)
tree237c660c433d8a48d8657a819b4588d08c4e924e /llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
parent5a6609771adc4ac2b7c6d96e8f86ea2b535d8d5b (diff)
downloadbcm5719-llvm-b9e2a4dec0e32e2bb966be1c761adfdb687f1454.tar.gz
bcm5719-llvm-b9e2a4dec0e32e2bb966be1c761adfdb687f1454.zip
Make sure to remove incomplete markers before we add to them! :)
llvm-svn: 20585
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp')
-rw-r--r--llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp b/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
index 8dc20648104..8e69291cdbc 100644
--- a/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud