summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-01 04:55:59 +0000
committerChris Lattner <sabre@nondot.org>2007-02-01 04:55:59 +0000
commit296a83cefb5b4389100ce69fcffcb9602c59d877 (patch)
tree1cd3028612eb1d68d5542d8381f4e92faab41020 /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
parent06736d0f88283d4c3ed857f40a6a85465815c148 (diff)
downloadbcm5719-llvm-296a83cefb5b4389100ce69fcffcb9602c59d877.tar.gz
bcm5719-llvm-296a83cefb5b4389100ce69fcffcb9602c59d877.zip
Fit in 80 columns
llvm-svn: 33745
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
index d5b8d047739..442b8ef46a5 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
@@ -277,7 +277,7 @@ public:
/// ResourceTally - Manages the use of resources over time intervals. Each
/// item (slot) in the tally vector represents the resources used at a given
/// moment. A bit set to 1 indicates that a resource is in use, otherwise
-/// available. An assumption is made that the tally is large enough to schedule
+/// available. An assumption is made that the tally is large enough to schedule
/// all current instructions (asserts otherwise.)
///
template<class T>
@@ -377,7 +377,7 @@ private:
// Try at cursor, if successful return position.
if (FindAndReserveStages(Cursor, StageBegin, StageEnd)) return Cursor;
// Locate a better position
- Cursor = RetrySlot(Cursor + 1, StageBegin->Cycles, StageBegin->Units);
+ Cursor = RetrySlot(Cursor + 1, StageBegin->Cycles, StageBegin->Units);
}
}
OpenPOWER on IntegriCloud