Fixed so that it dereferences the ostream pointer.
authorBill Wendling <isanbard@gmail.com>
Sun, 17 Dec 2006 11:15:53 +0000 (11:15 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 17 Dec 2006 11:15:53 +0000 (11:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32640 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp

index 0b10a22fc445f8c3131248276458496ee12640d0..d5b8d04773988f19bf62bf20749875ded4f444dd 100644 (file)
@@ -487,7 +487,7 @@ private:
   /// 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.
   ///