diff options
Diffstat (limited to 'compiler/optimizing/induction_var_range.cc')
-rw-r--r-- | compiler/optimizing/induction_var_range.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/induction_var_range.cc b/compiler/optimizing/induction_var_range.cc index 72719f89bf..767a149636 100644 --- a/compiler/optimizing/induction_var_range.cc +++ b/compiler/optimizing/induction_var_range.cc @@ -816,7 +816,7 @@ InductionVarRange::Value InductionVarRange::GetVal(const HBasicBlock* context, case HInductionVarAnalysis::kTripCountInLoopUnsafe: if (UseFullTripCount(context, loop, is_min)) { // Return the full trip count (do not subtract 1 as we do in loop body). - return GetVal(context, loop, info->op_a, trip, /*is_min=*/ false); + return GetVal(context, loop, info->op_a, trip, is_min); } FALLTHROUGH_INTENDED; case HInductionVarAnalysis::kTripCountInBody: @@ -1561,7 +1561,7 @@ bool InductionVarRange::GenerateCode(const HBasicBlock* context, trip, graph, block, - /*is_min=*/false, + is_min, result, allow_potential_overflow); } |