From d7d2b67b70a95b56bc6bb860320d3d0c590df30b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=A4ssig?= Date: Thu, 2 Apr 2026 11:24:12 +0200 Subject: [PATCH] Simplify condition --- src/hotspot/share/opto/macro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/opto/macro.cpp b/src/hotspot/share/opto/macro.cpp index 008616f7945..01c67187883 100644 --- a/src/hotspot/share/opto/macro.cpp +++ b/src/hotspot/share/opto/macro.cpp @@ -277,7 +277,7 @@ bool has_interfering_store(const ArrayCopyNode* ac, LoadNode* load, PhaseGVN* ph for (uint worklist_idx = 0; worklist_idx < to_visit.size(); worklist_idx++) { Node* mem = to_visit.at(worklist_idx); - if (mem->is_Proj() && mem->in(0)->is_ArrayCopy() && mem->in(0) == ac) { + if (mem->is_Proj() && mem->in(0) == ac) { // Reached the target, so visit what is left on the worklist. continue; }