mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-19 04:26:05 +00:00
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:
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
#include "llvm/CodeGen/MachineInstr.h"
|
#include "llvm/CodeGen/MachineInstr.h"
|
||||||
#include "Support/ilist"
|
#include "Support/ilist"
|
||||||
|
#include <iosfwd>
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
@@ -127,6 +128,10 @@ public:
|
|||||||
iterator erase(iterator I, iterator E) { return Insts.erase(I, E); }
|
iterator erase(iterator I, iterator E) { return Insts.erase(I, E); }
|
||||||
MachineInstr* remove(iterator &I) { return Insts.remove(I); }
|
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...
|
private: // Methods used to maintain doubly linked list of blocks...
|
||||||
friend class ilist_traits<MachineBasicBlock>;
|
friend class ilist_traits<MachineBasicBlock>;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user