From: Brian Gaeke Date: Fri, 13 Feb 2004 04:40:15 +0000 (+0000) Subject: Include . X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f13a3f4dd1eaa89ca9a64a1e820b089facca3366;p=oota-llvm.git Include . Add prototypes for MachineBasicBlock's dump() and print() methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11365 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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;