8264066: Enhance compiler validation

Reviewed-by: ahgross, kvn, rhalade, thartmann
This commit is contained in:
Igor Veresov
2021-04-19 17:27:25 +00:00
committed by Henry Jen
parent add995be46
commit e1051ae069

View File

@@ -1001,7 +1001,7 @@ void RangeCheckEliminator::calc_bounds(BlockBegin *block, BlockBegin *loop_heade
} else {
// Has no upper bound
Instruction *instr = ai->length();
if (instr != NULL) instr = ai->array();
if (instr == NULL) instr = ai->array();
update_bound(pushed, ai->index(), Instruction::lss, instr, 0);
}
}