From 2bb9626d46825753ea6bd1b76aab3da0309254d2 Mon Sep 17 00:00:00 2001 From: Quan Anh Mai Date: Tue, 9 Jun 2026 21:31:26 +0700 Subject: [PATCH] Remove erroneous change --- src/hotspot/share/opto/phaseX.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/hotspot/share/opto/phaseX.cpp b/src/hotspot/share/opto/phaseX.cpp index fc5ff076938..817dd62c2d3 100644 --- a/src/hotspot/share/opto/phaseX.cpp +++ b/src/hotspot/share/opto/phaseX.cpp @@ -2244,11 +2244,8 @@ Node *PhaseIterGVN::transform_old(Node* n) { // Apply the Ideal call in a loop until it no longer applies Node* k = n; -#ifdef ASSERT - dead_loop_check(k); - bool is_new = (k->outcnt() == 0); - const Type* old_bottom_type = n->bottom_type(); -#endif // ASSERT + DEBUG_ONLY(dead_loop_check(k);) + DEBUG_ONLY(bool is_new = (k->outcnt() == 0);) C->remove_modified_node(k); #ifndef PRODUCT uint hash_before = is_verify_Ideal_return() ? k->hash() : 0;