summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-11-13 21:36:12 +0000
committerDan Gohman <gohman@apple.com>2008-11-13 21:36:12 +0000
commit1ddfcba5beab6e438dca19a569642349a51359e7 (patch)
tree5b0182716774ec4fd19600229bb48376e245551b /llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
parent5a390b974cf0f7ce6d21c3aa101b11d734b6aa6b (diff)
downloadbcm5719-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.cpp4
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>";
OpenPOWER on IntegriCloud