The Globals graph must become complete at the end of the BU phase!

llvm-svn: 8638
This commit is contained in:
Chris Lattner 2003-09-20 23:27:05 +00:00
parent 880b9aa10a
commit 413b7bde7c
1 changed files with 5 additions and 0 deletions

View File

@ -48,6 +48,11 @@ bool BUDataStructures::run(Module &M) {
}
NumCallEdges += ActualCallees.size();
// At the end of the bottom-up pass, the globals graph becomes complete.
// FIXME: This is not the right way to do this, but it is sorta better than
// nothing!
GlobalsGraph->maskIncompleteMarkers();
return false;
}