[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp

Bill Wendling isanbard at gmail.com
Sun Dec 17 03:16:09 PST 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

ScheduleDAGSimple.cpp updated: 1.22 -> 1.23
---
Log message:

Fixed so that it dereferences the ostream pointer.


---
Diffs of the changes:  (+1 -1)

 ScheduleDAGSimple.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp:1.22 llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp:1.23
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp:1.22	Sat Dec 16 23:15:13 2006
+++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp	Sun Dec 17 05:15:53 2006
@@ -487,7 +487,7 @@
   /// printNI - Print node info.
   ///
   void printNI(std::ostream &O, NodeInfo *NI) const;
-  void printNI(std::ostream *O, NodeInfo *NI) const { if (O) printNI(O, NI); }
+  void printNI(std::ostream *O, NodeInfo *NI) const { if (O) printNI(*O, NI); }
   
   /// printChanges - Hilight changes in order caused by scheduling.
   ///






More information about the llvm-commits mailing list