[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/Steensgaard.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Feb 9 12:43:00 PST 2003
Changes in directory llvm/lib/Analysis/DataStructure:
Steensgaard.cpp updated: 1.21 -> 1.22
---
Log message:
Print out the steens graph if -debug is specified
---
Diffs of the changes:
Index: llvm/lib/Analysis/DataStructure/Steensgaard.cpp
diff -u llvm/lib/Analysis/DataStructure/Steensgaard.cpp:1.21 llvm/lib/Analysis/DataStructure/Steensgaard.cpp:1.22
--- llvm/lib/Analysis/DataStructure/Steensgaard.cpp:1.21 Sat Feb 8 17:03:17 2003
+++ llvm/lib/Analysis/DataStructure/Steensgaard.cpp Sun Feb 9 12:42:16 2003
@@ -11,6 +11,7 @@
#include "llvm/Analysis/DSGraph.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Module.h"
+#include "Support/Statistic.h"
namespace {
class Steens : public Pass, public AliasAnalysis {
@@ -192,7 +193,7 @@
// FIXME: We should be able to disable the globals graph for steens!
ResultGraph->removeDeadNodes(DSGraph::KeepUnreachableGlobals);
- //print(std::cerr, &M);
+ DEBUG(print(std::cerr, &M));
return false;
}
More information about the llvm-commits
mailing list