OSDN Git Service

Header warning patrol.
authorEric Christopher <echristo@apple.com>
Sat, 25 Dec 2010 02:38:01 +0000 (02:38 +0000)
committerEric Christopher <echristo@apple.com>
Sat, 25 Dec 2010 02:38:01 +0000 (02:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122551 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/ScheduleDAG.h

index b3d05c7..d11562c 100644 (file)
@@ -442,7 +442,7 @@ namespace llvm {
 
     bool hasReadyFilter() const { return HasReadyFilter; }
 
-    virtual bool isReady(SUnit *U) const {
+    virtual bool isReady(SUnit *) const {
       assert(!HasReadyFilter && "The ready filter must override isReady()");
       return true;
     }
@@ -458,7 +458,7 @@ namespace llvm {
 
     virtual void remove(SUnit *SU) = 0;
 
-    virtual void dump(ScheduleDAG *DAG) const {}
+    virtual void dump(ScheduleDAG *) const {}
 
     /// ScheduledNode - As each node is scheduled, this method is invoked.  This
     /// allows the priority function to adjust the priority of related