Include <iosfwd>.

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
This commit is contained in:
Brian Gaeke 2004-02-13 04:40:15 +00:00
parent 90421cd8f9
commit f13a3f4dd1

View File

@ -16,6 +16,7 @@
#include "llvm/CodeGen/MachineInstr.h"
#include "Support/ilist"
#include <iosfwd>
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<MachineBasicBlock>;