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/ScheduleDAGFast.cpp | |
parent | 3ee7449f3973fa467388d66d27124da22f45df85 (diff) |
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/ScheduleDAGFast.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp index 9eefc7ff00..6ac608f943 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp @@ -79,14 +79,14 @@ public: /// AddPred - adds a predecessor edge to SUnit SU. /// This returns true if this is a new predecessor. - bool AddPred(SUnit *SU, const SDep &D) { - return SU->addPred(D); + void AddPred(SUnit *SU, const SDep &D) { + SU->addPred(D); } /// RemovePred - removes a predecessor edge from SUnit SU. /// This returns true if an edge was removed. - bool RemovePred(SUnit *SU, const SDep &D) { - return SU->removePred(D); + void RemovePred(SUnit *SU, const SDep &D) { + SU->removePred(D); } private: |