diff options
author | Dan Gohman <gohman@apple.com> | 2008-12-16 01:00:55 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-12-16 01:00:55 +0000 |
commit | ffa391272bad598d73fd5404dadf3686b69f2a63 (patch) | |
tree | ae71af83d63be69728263282eb15baffbacc0fe8 /lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | |
parent | 3ee7449f3973fa467388d66d27124da22f45df85 (diff) | |
download | external_llvm-ffa391272bad598d73fd5404dadf3686b69f2a63.tar.gz external_llvm-ffa391272bad598d73fd5404dadf3686b69f2a63.tar.bz2 external_llvm-ffa391272bad598d73fd5404dadf3686b69f2a63.zip |
Make addPred and removePred return void, since the return value is not
currently used by anything.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61066 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index 1a18b819ac..49a5ac1904 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp @@ -101,17 +101,17 @@ public: /// AddPred - adds a predecessor edge to SUnit SU. /// This returns true if this is a new predecessor. /// Updates the topological ordering if required. - bool AddPred(SUnit *SU, const SDep &D) { + void AddPred(SUnit *SU, const SDep &D) { Topo.AddPred(SU, D.getSUnit()); - return SU->addPred(D); + SU->addPred(D); } /// RemovePred - removes a predecessor edge from SUnit SU. /// This returns true if an edge was removed. /// Updates the topological ordering if required. - bool RemovePred(SUnit *SU, const SDep &D) { + void RemovePred(SUnit *SU, const SDep &D) { Topo.RemovePred(SU, D.getSUnit()); - return SU->removePred(D); + SU->removePred(D); } private: |