From 173778e2fee58e47d35197b78eb23f46154b5b2b Mon Sep 17 00:00:00 2001 From: Fei Yang Date: Tue, 13 Dec 2022 00:57:02 +0000 Subject: [PATCH] 8298568: Fastdebug build fails after JDK-8296389 Reviewed-by: rkennke, kvn, haosun --- src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp b/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp index 31c480a488a..d443bb8aa33 100644 --- a/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp +++ b/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp @@ -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; } }