Changes in directory llvm/include/llvm/CodeGen:
LiveInterval.h updated: 1.31 -> 1.32 MachineBasicBlock.h updated: 1.51 -> 1.52 MachineInstr.h updated: 1.206 -> 1.207 --- Log message: An even better unbreakage... --- Diffs of the changes: (+4 -18) LiveInterval.h | 6 +----- MachineBasicBlock.h | 5 +---- MachineInstr.h | 11 ++--------- 3 files changed, 4 insertions(+), 18 deletions(-) Index: llvm/include/llvm/CodeGen/LiveInterval.h diff -u llvm/include/llvm/CodeGen/LiveInterval.h:1.31 llvm/include/llvm/CodeGen/LiveInterval.h:1.32 --- llvm/include/llvm/CodeGen/LiveInterval.h:1.31 Fri Dec 15 16:06:08 2006 +++ llvm/include/llvm/CodeGen/LiveInterval.h Fri Dec 15 16:57:14 2006 @@ -26,7 +26,6 @@ #include <iosfwd> #include <vector> #include <cassert> -#include <ostream> namespace llvm { class MRegisterInfo; @@ -63,10 +62,7 @@ }; std::ostream& operator<<(std::ostream& os, const LiveRange &LR); - inline OStream& operator<<(OStream& os, const LiveRange &LR) { - if (os.stream()) *os.stream() << LR; - return os; - } + OStream& operator<<(OStream& os, const LiveRange &LR); inline bool operator<(unsigned V, const LiveRange &LR) { return V < LR.start; Index: llvm/include/llvm/CodeGen/MachineBasicBlock.h diff -u llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.51 llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.52 --- llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.51 Wed Dec 6 19:30:31 2006 +++ llvm/include/llvm/CodeGen/MachineBasicBlock.h Fri Dec 15 16:57:14 2006 @@ -226,10 +226,7 @@ }; std::ostream& operator<<(std::ostream &OS, const MachineBasicBlock &MBB); -inline OStream& operator<<(OStream &OS, const MachineBasicBlock &MBB){ - if (OS.stream()) *OS.stream() << MBB; - return OS; -} +OStream& operator<<(OStream &OS, const MachineBasicBlock &MBB); //===--------------------------------------------------------------------===// // GraphTraits specializations for machine basic block graphs (machine-CFGs) Index: llvm/include/llvm/CodeGen/MachineInstr.h diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.206 llvm/include/llvm/CodeGen/MachineInstr.h:1.207 --- llvm/include/llvm/CodeGen/MachineInstr.h:1.206 Fri Dec 15 16:06:08 2006 +++ llvm/include/llvm/CodeGen/MachineInstr.h Fri Dec 15 16:57:14 2006 @@ -22,7 +22,6 @@ #include <vector> #include <cassert> #include <iosfwd> -#include <ostream> namespace llvm { @@ -286,10 +285,7 @@ IsDead = false; } - friend OStream& operator<<(OStream& os, const MachineOperand& mop) { - if (os.stream()) *os.stream() << mop; - return os; - } + friend OStream& operator<<(OStream& os, const MachineOperand& mop); friend std::ostream& operator<<(std::ostream& os, const MachineOperand& mop); friend class MachineInstr; @@ -403,10 +399,7 @@ } void print(std::ostream &OS, const TargetMachine *TM) const; void dump() const; - friend OStream& operator<<(OStream& os, const MachineInstr& minstr){ - if (os.stream()) *os.stream() << minstr; - return os; - } + friend OStream& operator<<(OStream& os, const MachineInstr& minstr); friend std::ostream& operator<<(std::ostream& os, const MachineInstr& minstr); //===--------------------------------------------------------------------===// _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits