mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
7005865: Crash when running with PrintIRWithLIR
The failure is caused by uninitialized bci number Reviewed-by: iveresov
This commit is contained in:
parent
7bf0d4d5cd
commit
bea445368e
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@ void BlockBegin::substitute_sux(BlockBegin* old_sux, BlockBegin* new_sux) {
|
||||||
// of the inserted block, without recomputing the values of the other blocks
|
// of the inserted block, without recomputing the values of the other blocks
|
||||||
// in the CFG. Therefore the value of "depth_first_number" in BlockBegin becomes meaningless.
|
// in the CFG. Therefore the value of "depth_first_number" in BlockBegin becomes meaningless.
|
||||||
BlockBegin* BlockBegin::insert_block_between(BlockBegin* sux) {
|
BlockBegin* BlockBegin::insert_block_between(BlockBegin* sux) {
|
||||||
BlockBegin* new_sux = new BlockBegin(-99);
|
BlockBegin* new_sux = new BlockBegin(end()->state()->bci());
|
||||||
|
|
||||||
// mark this block (special treatment when block order is computed)
|
// mark this block (special treatment when block order is computed)
|
||||||
new_sux->set(critical_edge_split_flag);
|
new_sux->set(critical_edge_split_flag);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue