diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index e89b64eea61..2ab16243752 100644 --- a/include/llvm/CodeGen/MachineBasicBlock.h +++ b/include/llvm/CodeGen/MachineBasicBlock.h @@ -16,6 +16,7 @@ #include "llvm/CodeGen/MachineInstr.h" #include "Support/ilist" +#include namespace llvm { @@ -127,6 +128,10 @@ public: iterator erase(iterator I, iterator E) { return Insts.erase(I, E); } MachineInstr* remove(iterator &I) { return Insts.remove(I); } + // Debugging methods. + void dump() const; + void print(std::ostream &OS) const; + private: // Methods used to maintain doubly linked list of blocks... friend class ilist_traits;