diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-05 23:59:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-05 23:59:20 +0000 |
commit | 67727308fa1fbcc5090e1da657bd2bb93c6d0858 (patch) | |
tree | 77e5f98440d58d0e775744445aa0ff6ae7353235 /lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | |
parent | 3c232c83be461b741c40fb25b932a1f60256a462 (diff) |
Comment fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26567 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index 34ac7de414..e10ee4173d 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp @@ -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; } } |