From 87e82f00adb6628ed6368db1eac7d944489287ff Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 31 Oct 2008 19:06:33 +0000 Subject: [PATCH] Remove some unused virtual function bodies. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58524 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index c605292695b..d1617bd60c8 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp @@ -1349,17 +1349,15 @@ namespace { RegReductionPriorityQueue() : Queue(SF(this)), currentQueueId(0) {} - virtual void initNodes(std::vector &sunits) {} + virtual void initNodes(std::vector &sunits) = 0; - virtual void addNode(const SUnit *SU) {} + virtual void addNode(const SUnit *SU) = 0; - virtual void updateNode(const SUnit *SU) {} + virtual void updateNode(const SUnit *SU) = 0; - virtual void releaseState() {} + virtual void releaseState() = 0; - virtual unsigned getNodePriority(const SUnit *SU) const { - return 0; - } + virtual unsigned getNodePriority(const SUnit *SU) const = 0; unsigned size() const { return Queue.size(); } -- 2.34.1