[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Sep 20 18:28:00 PDT 2003
Changes in directory llvm/lib/Analysis/DataStructure:
BottomUpClosure.cpp updated: 1.64 -> 1.65
---
Log message:
The Globals graph must become complete at the end of the BU phase!
---
Diffs of the changes:
Index: llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
diff -u llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.64 llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.65
--- llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.64 Sat Sep 20 11:34:11 2003
+++ llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp Sat Sep 20 18:27:05 2003
@@ -48,6 +48,11 @@
}
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;
}
More information about the llvm-commits
mailing list