diff options
author | Dan Gohman <gohman@apple.com> | 2008-11-13 21:36:12 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-11-13 21:36:12 +0000 |
commit | 1ddfcba5beab6e438dca19a569642349a51359e7 (patch) | |
tree | 5b0182716774ec4fd19600229bb48376e245551b /llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | |
parent | 5a390b974cf0f7ce6d21c3aa101b11d734b6aa6b (diff) | |
download | bcm5719-llvm-1ddfcba5beab6e438dca19a569642349a51359e7.tar.gz bcm5719-llvm-1ddfcba5beab6e438dca19a569642349a51359e7.zip |
Make the Node member of SUnit private, and add accessors.
llvm-svn: 59264
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index 22791d3dc76..1f45729462b 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp @@ -438,8 +438,8 @@ std::string DOTGraphTraits<ScheduleDAG*>::getNodeLabel(const SUnit *SU, G->DAG) + "\n"; } - if (SU->Node) - Op += DOTGraphTraits<SelectionDAG*>::getNodeLabel(SU->Node, G->DAG); + if (SU->getNode()) + Op += DOTGraphTraits<SelectionDAG*>::getNodeLabel(SU->getNode(), G->DAG); else Op += "<CROSS RC COPY>"; |