From 7853ae1d97acb65bd4dfd9a15478c14f475dbd41 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Sat, 25 Dec 2010 02:38:01 +0000 Subject: [PATCH] Header warning patrol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122551 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/ScheduleDAG.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h index b3d05c700ac..d11562c9778 100644 --- a/include/llvm/CodeGen/ScheduleDAG.h +++ b/include/llvm/CodeGen/ScheduleDAG.h @@ -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 -- 2.34.1