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/ScheduleDAGList.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/ScheduleDAGList.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index de9ae72ff3..8921545e1a 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp @@ -201,7 +201,7 @@ void ScheduleDAGList::ListScheduleTopDown() { SUnit *CurSUnit = AvailableQueue->pop(); // Get the node represented by this SUnit. - FoundNode = CurSUnit->Node; + FoundNode = CurSUnit->getNode(); // If this is a pseudo op, like copyfromreg, look to see if there is a // real target node flagged to it. If so, use the target node. |