summaryrefslogtreecommitdiff
path: root/compiler/optimizing/induction_var_analysis.cc
diff options
context:
space:
mode:
author Aart Bik <ajcbik@google.com> 2016-06-22 16:34:46 -0700
committer Aart Bik <ajcbik@google.com> 2016-06-22 16:34:46 -0700
commitd5cc68352e84f33e90a7f8007cd0859c3c1f949d (patch)
tree4a1bcb6164bf2179cfd7dc1884d4d8de404e1f97 /compiler/optimizing/induction_var_analysis.cc
parent5f5560dbce6cd81e885c0d9351c1e6d732c2e0ca (diff)
Fixed typo in comment.
Change-Id: I818e5e67d664dfd2bddd464ed8e4f5efceb1fb22
Diffstat (limited to 'compiler/optimizing/induction_var_analysis.cc')
-rw-r--r--compiler/optimizing/induction_var_analysis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/induction_var_analysis.cc b/compiler/optimizing/induction_var_analysis.cc
index 0a5cf80e9d..52426d73c6 100644
--- a/compiler/optimizing/induction_var_analysis.cc
+++ b/compiler/optimizing/induction_var_analysis.cc
@@ -670,7 +670,7 @@ void HInductionVarAnalysis::VisitTripCount(HLoopInformation* loop,
// an unsigned entity, for example, as in the following loop that uses the full range:
// for (int i = INT_MIN; i < INT_MAX; i++) // TC = UINT_MAX
// (2) The TC is only valid if the loop is taken, otherwise TC = 0, as in:
- // for (int i = 12; i < U; i++) // TC = 0 when U < 12
+ // for (int i = 12; i < U; i++) // TC = 0 when U <= 12
// If this cannot be determined at compile-time, the TC is only valid within the
// loop-body proper, not the loop-header unless enforced with an explicit taken-test.
// (3) The TC is only valid if the loop is finite, otherwise TC has no value, as in: