diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-13 20:32:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-13 20:32:26 +0000 |
commit | 270cf5025e8a0bfd81528d2090353e49ea41f848 (patch) | |
tree | 8d5e3a3b60cdad754c97b3314aaa4e1a2991870d /lib/Analysis/DataStructure/CompleteBottomUp.cpp | |
parent | b5ecd2e378fbc994c458980177b76c2f499e5cc7 (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/CompleteBottomUp.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/CompleteBottomUp.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/DataStructure/CompleteBottomUp.cpp b/lib/Analysis/DataStructure/CompleteBottomUp.cpp index 77a5f32fa5..e38aebfb81 100644 --- a/lib/Analysis/DataStructure/CompleteBottomUp.cpp +++ b/lib/Analysis/DataStructure/CompleteBottomUp.cpp @@ -107,6 +107,7 @@ bool CompleteBUDataStructures::runOnModule(Module &M) { if (isa<GlobalVariable>(*I)) RC.getClonedNH(GG.getNodeForValue(*I)); + MainGraph.maskIncompleteMarkers(); MainGraph.markIncompleteNodes(DSGraph::MarkFormalArgs | DSGraph::IgnoreGlobals); } |