[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
Bill Wendling
isanbard at gmail.com
Mon Dec 11 11:45:59 PST 2006
Hi John,
Could you please file a bug on this and assign it to me?
Thanks!
-bw
On Dec 11, 2006, at 11:16 AM, John Criswell wrote:
>
>
> Changes in directory llvm/lib/CodeGen/SelectionDAG:
>
> ScheduleDAGSimple.cpp updated: 1.20 -> 1.21
> ---
> Log message:
>
> It seems the llvm::OStream class does not handle stream manipulators.
> For now, just grab the stream and perform the output on it directly.
>
>
> ---
> Diffs of the changes: (+7 -7)
>
> ScheduleDAGSimple.cpp | 14 +++++++-------
> 1 files changed, 7 insertions(+), 7 deletions(-)
>
>
> Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
> diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp:1.20
> llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp:1.21
> --- llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp:1.20 Thu
> Dec 7 14:04:42 2006
> +++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp Mon Dec 11
> 13:15:36 2006
> @@ -713,13 +713,13 @@
> void ScheduleDAGSimple::printNI(OStream &O, NodeInfo *NI) const {
> #ifndef NDEBUG
> SDNode *Node = NI->Node;
> - O << " "
> - << std::hex << Node << std::dec
> - << ", Lat=" << NI->Latency
> - << ", Slot=" << NI->Slot
> - << ", ARITY=(" << Node->getNumOperands() << ","
> - << Node->getNumValues() << ")"
> - << " " << Node->getOperationName(&DAG);
> + *(O.stream()) << " "
> + << std::hex << Node << std::dec
> + << ", Lat=" << NI->Latency
> + << ", Slot=" << NI->Slot
> + << ", ARITY=(" << Node->getNumOperands() << ","
> + << Node->getNumValues() << ")"
> + << " " << Node->getOperationName(&DAG);
> if (isFlagDefiner(Node)) O << "<#";
> if (isFlagUser(Node)) O << ">#";
> #endif
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list