From f2174da7132b1a3ce81d8a154a20c1285b5b15dd Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sun, 17 Dec 2006 11:15:53 +0000 Subject: [PATCH] Fixed so that it dereferences the ostream pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32640 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp index 0b10a22fc44..d5b8d047739 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp @@ -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. ///