summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineLoopInfo.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/CodeGen/MachineLoopInfo.cpp
parentd2564e3afb1d9fe42c4b092dfd0bcf472aa535e1 (diff)
downloadbcm5719-llvm-c3f2137c06aaf2b43ea18a0dc1895a9950ca45cd.tar.gz
bcm5719-llvm-c3f2137c06aaf2b43ea18a0dc1895a9950ca45cd.zip
Restore dump() methods to Loop and MachineLoop.
llvm-svn: 92772
Diffstat (limited to 'llvm/lib/CodeGen/MachineLoopInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineLoopInfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineLoopInfo.cpp b/llvm/lib/CodeGen/MachineLoopInfo.cpp
index d561a5bb8c9..269538b31d0 100644
--- a/llvm/lib/CodeGen/MachineLoopInfo.cpp
+++ b/llvm/lib/CodeGen/MachineLoopInfo.cpp
@@ -17,6 +17,7 @@
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/Passes.h"
+#include "llvm/Support/Debug.h"
using namespace llvm;
namespace llvm {
@@ -73,3 +74,7 @@ MachineBasicBlock *MachineLoop::getBottomBlock() {
}
return BotMBB;
}
+
+void MachineLoop::dump() const {
+ print(dbgs());
+}
OpenPOWER on IntegriCloud