aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-03-12 23:55:10 +0000
committerDan Gohman <gohman@apple.com>2009-03-12 23:55:10 +0000
commite68e538c04032fa0dfba8d59456b48281be12091 (patch)
tree2efe25cf0d3e2a692f371a8c9a6629024b6b8c71
parentd84b9fc663aabb34bdd76e121b22f9641d7d4f62 (diff)
downloadexternal_llvm-e68e538c04032fa0dfba8d59456b48281be12091.zip
external_llvm-e68e538c04032fa0dfba8d59456b48281be12091.tar.gz
external_llvm-e68e538c04032fa0dfba8d59456b48281be12091.tar.bz2
Fix a typo in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66843 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index e505b7b..b2f6ddf 100644
--- a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
@@ -1080,7 +1080,7 @@ namespace {
}
/// closestSucc - Returns the scheduled cycle of the successor which is
-/// closet to the current cycle.
+/// closest to the current cycle.
static unsigned closestSucc(const SUnit *SU) {
unsigned MaxHeight = 0;
for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end();