Reenable printing of TD analysis
authorChris Lattner <sabre@nondot.org>
Thu, 17 Oct 2002 04:24:30 +0000 (04:24 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Oct 2002 04:24:30 +0000 (04:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4214 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/Printer.cpp

index aac4c9b466371ec08ba2010c7a2bf314d1df3e0e..dade3f750a51ef43ba81d7d7c75f5e364e544006 100644 (file)
@@ -170,14 +170,13 @@ void BUDataStructures::print(std::ostream &O, const Module *M) const {
 #endif
 }
 
-#if 0
 void TDDataStructures::print(std::ostream &O, const Module *M) const {
   printCollection(*this, O, M, "td.");
-
+#if 0
   for (Module::const_iterator I = M->begin(), E = M->end(); I != E; ++I)
     if (!I->isExternal()) {
       (*getDSGraph(*I).GlobalsGraph)->writeGraphToFile(O, "gg.program");
       break;
     }
-}
 #endif
+}