mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8264066: Enhance compiler validation
Reviewed-by: ahgross, kvn, rhalade, thartmann
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user