mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-15 21:48:57 +00:00
8264066: Enhance compiler validation
Reviewed-by: ahgross, kvn, rhalade, thartmann
This commit is contained in:
parent
add995be46
commit
e1051ae069
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user