aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/LoopInfo.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-05 21:08:02 +0000
committerDan Gohman <gohman@apple.com>2010-01-05 21:08:02 +0000
commitc3f2137c06aaf2b43ea18a0dc1895a9950ca45cd (patch)
treeefe16cc3e8d5c40466a8c71345909145567d8588 /llvm/lib/Analysis/LoopInfo.cpp
parentd2564e3afb1d9fe42c4b092dfd0bcf472aa535e1 (diff)
downloadllvm-c3f2137c06aaf2b43ea18a0dc1895a9950ca45cd.zip
llvm-c3f2137c06aaf2b43ea18a0dc1895a9950ca45cd.tar.gz
llvm-c3f2137c06aaf2b43ea18a0dc1895a9950ca45cd.tar.bz2
Restore dump() methods to Loop and MachineLoop.
llvm-svn: 92772
Diffstat (limited to 'llvm/lib/Analysis/LoopInfo.cpp')
-rw-r--r--llvm/lib/Analysis/LoopInfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/LoopInfo.cpp b/llvm/lib/Analysis/LoopInfo.cpp
index 5d31c11..453af5a 100644
--- a/llvm/lib/Analysis/LoopInfo.cpp
+++ b/llvm/lib/Analysis/LoopInfo.cpp
@@ -21,6 +21,7 @@
#include "llvm/Assembly/Writer.h"
#include "llvm/Support/CFG.h"
#include "llvm/Support/CommandLine.h"
+#include "llvm/Support/Debug.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/SmallPtrSet.h"
#include <algorithm>
@@ -385,6 +386,10 @@ BasicBlock *Loop::getUniqueExitBlock() const {
return 0;
}
+void Loop::dump() const {
+ print(dbgs());
+}
+
//===----------------------------------------------------------------------===//
// LoopInfo implementation
//