diff options
author | Chris Lattner <sabre@nondot.org> | 2003-02-28 16:54:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-02-28 16:54:45 +0000 |
commit | bb05f1ee9317fa984519cd8d5079a444d5d5df2c (patch) | |
tree | 74f76e76b81aaa525a02b5dede0f5fd52129772e /lib/Analysis/LoopInfo.cpp | |
parent | f972cbd98c87a2b288943425c1bc92022a8de5c5 (diff) |
Add dump method for Loops
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LoopInfo.cpp')
-rw-r--r-- | lib/Analysis/LoopInfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp index ddcbbf4425..d7d8a5b9e5 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 |