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 | 550f5afb68ce8f034991863cac65bef22a6554da (patch) | |
tree | 07f9840612449da0707b1f75e0e66254ff5d4ceb /lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | |
parent | a23b3b803e3c65e84d6cadaa221de8b256cbe28d (diff) |
Make the Node member of SUnit private, and add accessors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index 22791d3dc7..1f45729462 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/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>"; |