aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-02-13 04:40:15 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-02-13 04:40:15 +0000
commitf13a3f4dd1eaa89ca9a64a1e820b089facca3366 (patch)
treeee19681e3394f3f9b6f5c79a88dd8f38baf40b0d /include
parent90421cd8f982b4fe38d8f5992423e4f63074869f (diff)
downloadexternal_llvm-f13a3f4dd1eaa89ca9a64a1e820b089facca3366.zip
external_llvm-f13a3f4dd1eaa89ca9a64a1e820b089facca3366.tar.gz
external_llvm-f13a3f4dd1eaa89ca9a64a1e820b089facca3366.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h
index e89b64e..2ab1624 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 <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>;