8298568: Fastdebug build fails after JDK-8296389

Reviewed-by: rkennke, kvn, haosun
This commit is contained in:
Fei Yang 2022-12-13 00:57:02 +00:00
parent 829cbc2cb1
commit 173778e2fe

View File

@ -2002,7 +2002,7 @@ Node* ShenandoahIUBarrierNode::Identity(PhaseGVN* phase) {
static bool has_never_branch(Node* root) {
for (uint i = 1; i < root->req(); i++) {
Node* in = root->in(i);
if (in != NULL && in->Opcode() == Op_Halt && in->in(0)->is_Proj() && in->in(0)->in(0)->isNeverBranch()) {
if (in != NULL && in->Opcode() == Op_Halt && in->in(0)->is_Proj() && in->in(0)->in(0)->is_NeverBranch()) {
return true;
}
}