From 25322aae8e224680db376098d2e45f26cf3334a0 Mon Sep 17 00:00:00 2001 From: Dmitry Chuyko Date: Fri, 21 Feb 2025 21:43:54 +0000 Subject: [PATCH] 8350258: AArch64: Client build fails after JDK-8347917 Reviewed-by: dlong, kvn --- src/hotspot/cpu/aarch64/frame_aarch64.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotspot/cpu/aarch64/frame_aarch64.cpp b/src/hotspot/cpu/aarch64/frame_aarch64.cpp index 7201674cd63..b07fa2fa9df 100644 --- a/src/hotspot/cpu/aarch64/frame_aarch64.cpp +++ b/src/hotspot/cpu/aarch64/frame_aarch64.cpp @@ -507,11 +507,11 @@ frame frame::sender_for_interpreter_frame(RegisterMap* map) const { intptr_t* unextended_sp = interpreter_frame_sender_sp(); intptr_t* sender_fp = link(); -#if COMPILER2_OR_JVMCI +#if defined(COMPILER1) || COMPILER2_OR_JVMCI if (map->update_map()) { update_map_with_saved_link(map, (intptr_t**) addr_at(link_offset)); } -#endif // COMPILER2_OR_JVMCI +#endif // defined(COMPILER1) || COMPILER1_OR_COMPILER2 // For ROP protection, Interpreter will have signed the sender_pc, // but there is no requirement to authenticate it here.