aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-12-17 11:15:53 +0000
committerBill Wendling <isanbard@gmail.com>2006-12-17 11:15:53 +0000
commitf2174da7132b1a3ce81d8a154a20c1285b5b15dd (patch)
tree8945c5ea0a0316669017b9105ee4a048722823d0 /lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
parentfee18ae0744ef3cbcc1d0ea27c2c711f376940db (diff)
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
index 0b10a22fc4..d5b8d04773 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.
///