commit | f26ca4b36cb9d3b9075048ab49c0eddd74724cd2 | [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 | 96c2ad2dc93bdf2cab99e51e8e274d9abaa95bd2 [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>";