Skip to content

Commit

Permalink
8263672: fatal error: no reachable node should have no use
Browse files Browse the repository at this point in the history
Reviewed-by: vlivanov, thartmann
  • Loading branch information
rwestrel committed Mar 17, 2021
1 parent 086a66a commit d1baed6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/hotspot/share/opto/addnode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,9 @@ Node *AddNode::Ideal(PhaseGVN *phase, bool can_reshape) {
addx->set_req(1, in(1));
addx->set_req(2, add2->in(1));
addx = phase->transform(addx);
set_req(1, addx);
set_req(2, a22);
set_req_X(1, addx, phase);
set_req_X(2, a22, phase);
progress = this;
PhaseIterGVN* igvn = phase->is_IterGVN();
if (add2->outcnt() == 0 && igvn) {
// add disconnected.
igvn->_worklist.push(add2);
}
}
}

Expand Down

1 comment on commit d1baed6

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.