[llvm-commits] CVS: llvm/include/Support/TarjanSCCIterator.h

Chris Lattner lattner at cs.uiuc.edu
Sat Aug 30 20:46:02 PDT 2003


Changes in directory llvm/include/Support:

TarjanSCCIterator.h updated: 1.9 -> 1.10

---
Log message:

This file uses cerr without including <iostream>.  Since it's just for debugging, comment it out


---
Diffs of the changes:

Index: llvm/include/Support/TarjanSCCIterator.h
diff -u llvm/include/Support/TarjanSCCIterator.h:1.9 llvm/include/Support/TarjanSCCIterator.h:1.10
--- llvm/include/Support/TarjanSCCIterator.h:1.9	Fri Aug  1 17:12:07 2003
+++ llvm/include/Support/TarjanSCCIterator.h	Sat Aug 30 20:45:00 2003
@@ -94,8 +94,8 @@
     SCCNodeStack.push(N);
     MinVisitNumStack.push(visitNum);
     VisitStack.push(make_pair(N, GT::child_begin(N)));
-    DEBUG(std::cerr << "TarjanSCC: Node " << N <<
-          " : visitNum = " << visitNum << "\n");
+    //DEBUG(std::cerr << "TarjanSCC: Node " << N <<
+    //      " : visitNum = " << visitNum << "\n");
   }
 
   // The stack-based DFS traversal; defined below.
@@ -133,9 +133,9 @@
         if (! MinVisitNumStack.empty() && MinVisitNumStack.top() > minVisitNum)
           MinVisitNumStack.top() = minVisitNum;
 
-        DEBUG(std::cerr << "TarjanSCC: Popped node " << visitingN <<
-              " : minVisitNum = " << minVisitNum << "; Node visit num = " <<
-              nodeVisitNumbers[visitingN] << "\n");
+        //DEBUG(std::cerr << "TarjanSCC: Popped node " << visitingN <<
+        //      " : minVisitNum = " << minVisitNum << "; Node visit num = " <<
+        //      nodeVisitNumbers[visitingN] << "\n");
 
         if (minVisitNum == nodeVisitNumbers[visitingN])
           { // A full SCC is on the SCCNodeStack!  It includes all nodes below





More information about the llvm-commits mailing list