mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-15 08:03:50 +00:00
8360175: C2 crash: assert(edge_from_to(prior_use,n)) failed: before block local scheduling
Reviewed-by: kvn, chagedorn
This commit is contained in:
parent
d886ae12a2
commit
db4b4a5b35
@ -346,7 +346,7 @@ bool Peephole::lea_remove_redundant(Block* block, int block_index, PhaseCFG* cfg
|
||||
for (DUIterator_Fast imax, i = decode->fast_outs(imax); i < imax; i++) {
|
||||
Node* dependant_lea = decode->fast_out(i);
|
||||
if (dependant_lea->is_Mach() && dependant_lea->as_Mach()->ideal_Opcode() == Op_AddP) {
|
||||
dependant_lea->set_req(AddPNode::Base, decode_address);
|
||||
dependant_lea->set_req(AddPNode::Base, lea_derived_oop->in(AddPNode::Address));
|
||||
// This deleted something in the out array, hence adjust i, imax.
|
||||
--i;
|
||||
--imax;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user