Mercurial > hg > truffle
comparison src/share/vm/c1/c1_Instruction.cpp @ 3241:6c9cec219ce4
7005865: Crash when running with PrintIRWithLIR
Summary: the failure is caused by uninitialized bci number
Reviewed-by: iveresov
author | vladidan |
---|---|
date | Mon, 11 Apr 2011 23:02:37 -0400 |
parents | f95d63e2154a |
children | 208b6c560ff4 |
comparison
equal
deleted
inserted
replaced
2474:1dac0f3af89f | 3241:6c9cec219ce4 |
---|---|
557 | 557 |
558 // In general it is not possible to calculate a value for the field "depth_first_number" | 558 // In general it is not possible to calculate a value for the field "depth_first_number" |
559 // of the inserted block, without recomputing the values of the other blocks | 559 // of the inserted block, without recomputing the values of the other blocks |
560 // in the CFG. Therefore the value of "depth_first_number" in BlockBegin becomes meaningless. | 560 // in the CFG. Therefore the value of "depth_first_number" in BlockBegin becomes meaningless. |
561 BlockBegin* BlockBegin::insert_block_between(BlockBegin* sux) { | 561 BlockBegin* BlockBegin::insert_block_between(BlockBegin* sux) { |
562 BlockBegin* new_sux = new BlockBegin(-99); | 562 BlockBegin* new_sux = new BlockBegin(end()->state()->bci()); |
563 | 563 |
564 // mark this block (special treatment when block order is computed) | 564 // mark this block (special treatment when block order is computed) |
565 new_sux->set(critical_edge_split_flag); | 565 new_sux->set(critical_edge_split_flag); |
566 | 566 |
567 // This goto is not a safepoint. | 567 // This goto is not a safepoint. |