Include <iosfwd>.
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 13 Feb 2004 04:40:15 +0000 (04:40 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 13 Feb 2004 04:40:15 +0000 (04:40 +0000)
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

include/llvm/CodeGen/MachineBasicBlock.h

index e89b64eea613c8dfcabb8d8fb31bb32d9f54c1e7..2ab162437528c07001235ee2169f0776c312b2a7 100644 (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>;