From: Dan Gohman Date: Tue, 24 Jun 2008 00:02:44 +0000 (+0000) Subject: Comment fixes, and make Schedule() pure virtual. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a0b50d7f0dd965b4269cce198cab395e2c2be900;p=oota-llvm.git Comment fixes, and make Schedule() pure virtual. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52658 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h index 0c393a0628a..4849f914ca9 100644 --- a/include/llvm/CodeGen/ScheduleDAG.h +++ b/include/llvm/CodeGen/ScheduleDAG.h @@ -229,8 +229,9 @@ namespace llvm { virtual void remove(SUnit *SU) = 0; /// ScheduledNode - As each node is scheduled, this method is invoked. This - /// allows the priority function to adjust the priority of node that have - /// already been emitted. + /// allows the priority function to adjust the priority of related + /// unscheduled nodes, for example. + /// virtual void ScheduledNode(SUnit *) {} virtual void UnscheduledNode(SUnit *) {} @@ -339,9 +340,10 @@ namespace llvm { void dumpSchedule() const; - /// Schedule - Order nodes according to selected style. + /// Schedule - Order nodes according to selected style, filling + /// in the Sequence member. /// - virtual void Schedule() {} + virtual void Schedule() = 0; private: /// EmitSubregNode - Generate machine code for subreg nodes.