Comment fixes, and make Schedule() pure virtual.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52658 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-06-24 00:02:44 +00:00
parent 51cd9d6e07
commit a0b50d7f0d

View File

@ -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.