From bb05f1ee9317fa984519cd8d5079a444d5d5df2c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 28 Feb 2003 16:54:45 +0000 Subject: [PATCH] Add dump method for Loops git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5671 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/LoopInfo.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp index ddcbbf44250..d7d8a5b9e56 100644 --- a/lib/Analysis/LoopInfo.cpp +++ b/lib/Analysis/LoopInfo.cpp @@ -68,6 +68,10 @@ void Loop::print(std::ostream &OS) const { getSubLoops()[i]->print(OS); } +void Loop::dump() const { + print(std::cerr); +} + //===----------------------------------------------------------------------===// // LoopInfo implementation