Add dump method for Loops
authorChris Lattner <sabre@nondot.org>
Fri, 28 Feb 2003 16:54:45 +0000 (16:54 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 28 Feb 2003 16:54:45 +0000 (16:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5671 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/LoopInfo.cpp

index ddcbbf44250ae5089f1f090ac23854b0fd255c76..d7d8a5b9e56d1744f87f6936143c0421b8dde37a 100644 (file)
@@ -68,6 +68,10 @@ void Loop::print(std::ostream &OS) const {
     getSubLoops()[i]->print(OS);
 }
 
+void Loop::dump() const {
+  print(std::cerr);
+}
+
 
 //===----------------------------------------------------------------------===//
 // LoopInfo implementation