diff options
author | Chris Lattner <sabre@nondot.org> | 2003-09-20 23:27:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-09-20 23:27:05 +0000 |
commit | ec157b7cde458d99440a1b07e5ac904a503da7b6 (patch) | |
tree | 5262ba3d5132cc9adcd1309b461075850804310d /lib/Analysis | |
parent | 3b0a9be238e95fc125bec302272157f63e1110f3 (diff) | |
download | external_llvm-ec157b7cde458d99440a1b07e5ac904a503da7b6.zip external_llvm-ec157b7cde458d99440a1b07e5ac904a503da7b6.tar.gz external_llvm-ec157b7cde458d99440a1b07e5ac904a503da7b6.tar.bz2 |
The Globals graph must become complete at the end of the BU phase!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/DataStructure/BottomUpClosure.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index f5d435f..5019d90 100644 --- a/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp @@ -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; } |