OSDN Git Service

Comment fixes
authorChris Lattner <sabre@nondot.org>
Sun, 5 Mar 2006 23:59:20 +0000 (23:59 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 5 Mar 2006 23:59:20 +0000 (23:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26567 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp

index 34ac7de..e10ee41 100644 (file)
@@ -214,7 +214,7 @@ class ScheduleDAGList : public ScheduleDAG {
 private:
   // SDNode to SUnit mapping (many to one).
   std::map<SDNode*, SUnit*> SUnitMap;
-  // The schedule.  Null SUnit*'s represend noop instructions.
+  // The schedule.  Null SUnit*'s represent noop instructions.
   std::vector<SUnit*> Sequence;
   // Current scheduling cycle.
   unsigned CurrCycle;
@@ -523,7 +523,7 @@ void ScheduleDAGList::ListScheduleTopDown() {
       // processors without pipeline interlocks and other cases.
       DEBUG(std::cerr << "*** Emitting noop");
       HazardRec->EmitNoop();
-      Sequence.push_back(0);   // NULL SUnit -> noop
+      Sequence.push_back(0);   // NULL SUnit* -> noop
       ++NumNoops;
     }
   }