Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.
/ jdk20 Public archive

Commit

Permalink
8295116: C2: assert(dead->outcnt() == 0 && !dead->is_top()) failed: n…
Browse files Browse the repository at this point in the history
…ode must be dead

Reviewed-by: thartmann, rcastanedalo
  • Loading branch information
chhagedorn committed Dec 8, 2022
1 parent 49b8622 commit 94575d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hotspot/share/opto/ifnode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ bool IfNode::is_ctrl_folds(Node* ctrl, PhaseIterGVN* igvn) {
ctrl->in(0)->as_If()->cmpi_folds(igvn, true) &&
// Must compare same value
ctrl->in(0)->in(1)->in(1)->in(1) != NULL &&
ctrl->in(0)->in(1)->in(1)->in(1) != igvn->C->top() &&
ctrl->in(0)->in(1)->in(1)->in(1) == in(1)->in(1)->in(1);
}

Expand Down

0 comments on commit 94575d1

Please sign in to comment.