[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveInterval.h

Bill Wendling isanbard at gmail.com
Tue Nov 28 16:40:01 PST 2006



Changes in directory llvm/include/llvm/CodeGen:

LiveInterval.h updated: 1.28 -> 1.29
---
Log message:

Converted to using llvm streams instead of <iostream>s


---
Diffs of the changes:  (+2 -3)

 LiveInterval.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Index: llvm/include/llvm/CodeGen/LiveInterval.h
diff -u llvm/include/llvm/CodeGen/LiveInterval.h:1.28 llvm/include/llvm/CodeGen/LiveInterval.h:1.29
--- llvm/include/llvm/CodeGen/LiveInterval.h:1.28	Tue Nov 28 16:21:29 2006
+++ llvm/include/llvm/CodeGen/LiveInterval.h	Tue Nov 28 18:39:47 2006
@@ -258,10 +258,9 @@
       return beginNumber() < other.beginNumber();
     }
 
-    void print(llvm_ostream &OS, const MRegisterInfo *MRI = 0) const;
+    void print(llvm_ostream OS, const MRegisterInfo *MRI = 0) const;
     void print(std::ostream &OS, const MRegisterInfo *MRI = 0) const {
-      llvm_ostream L(OS);
-      L << MRI;
+      print(llvm_ostream(OS), MRI);
     }
     void dump() const;
 






More information about the llvm-commits mailing list