[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineBasicBlock.h MachineInstr.h
Chris Lattner
sabre at nondot.org
Sat Nov 18 13:47:31 PST 2006
Changes in directory llvm/include/llvm/CodeGen:
MachineBasicBlock.h updated: 1.47 -> 1.48
MachineInstr.h updated: 1.198 -> 1.199
---
Log message:
Implement operator<< for machine basic blocks to make it easier to dump them.
---
Diffs of the changes: (+2 -0)
MachineBasicBlock.h | 1 +
MachineInstr.h | 1 +
2 files changed, 2 insertions(+)
Index: llvm/include/llvm/CodeGen/MachineBasicBlock.h
diff -u llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.47 llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.48
--- llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.47 Mon Oct 23 18:35:35 2006
+++ llvm/include/llvm/CodeGen/MachineBasicBlock.h Sat Nov 18 15:47:16 2006
@@ -222,6 +222,7 @@
void removePredecessor(MachineBasicBlock *pred);
};
+std::ostream& operator<<(std::ostream &OS, const MachineBasicBlock &MBB);
//===--------------------------------------------------------------------===//
Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.198 llvm/include/llvm/CodeGen/MachineInstr.h:1.199
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.198 Wed Nov 15 17:55:03 2006
+++ llvm/include/llvm/CodeGen/MachineInstr.h Sat Nov 18 15:47:16 2006
@@ -20,6 +20,7 @@
#include "llvm/Support/DataTypes.h"
#include <vector>
#include <cassert>
+#include <iosfwd>
namespace llvm {
More information about the llvm-commits
mailing list