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
This commit is contained in:
Bill Wendling 2006-12-17 11:15:53 +00:00
parent fee18ae074
commit f2174da713

View 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.
///