Implement operator<< for machine basic blocks to make it easier to dump them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31857 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2006-11-18 21:47:36 +00:00
parent 154e104718
commit 1ccc4684f3
3 changed files with 6 additions and 0 deletions

View File

@@ -222,6 +222,7 @@ private: // Methods used to maintain doubly linked list of blocks...
void removePredecessor(MachineBasicBlock *pred);
};
std::ostream& operator<<(std::ostream &OS, const MachineBasicBlock &MBB);
//===--------------------------------------------------------------------===//