Restore dump() methods to Loop and MachineLoop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92772 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2010-01-05 21:08:02 +00:00
parent 8c65f6e71c
commit dda30cd4af
4 changed files with 15 additions and 1 deletions

View File

@ -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());
}