aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-12-16 01:00:55 +0000
committerDan Gohman <gohman@apple.com>2008-12-16 01:00:55 +0000
commitffa391272bad598d73fd5404dadf3686b69f2a63 (patch)
treeae71af83d63be69728263282eb15baffbacc0fe8 /lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
parent3ee7449f3973fa467388d66d27124da22f45df85 (diff)
downloadexternal_llvm-ffa391272bad598d73fd5404dadf3686b69f2a63.zip
external_llvm-ffa391272bad598d73fd5404dadf3686b69f2a63.tar.gz
external_llvm-ffa391272bad598d73fd5404dadf3686b69f2a63.tar.bz2
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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
index 9eefc7f..6ac608f 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: