commit | 550f5afb68ce8f034991863cac65bef22a6554da | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Nov 13 21:36:12 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Nov 13 21:36:12 2008 +0000 |
tree | 07f9840612449da0707b1f75e0e66254ff5d4ceb | |
parent | a23b3b803e3c65e84d6cadaa221de8b256cbe28d [diff] [blame] |
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
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index 22791d3..1f45729 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
@@ -438,8 +438,8 @@ 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>";