From 9d7d85a6aa20ed95166f5f2f951597bca1fde841 Mon Sep 17 00:00:00 2001 From: Gui Cao Date: Mon, 2 Sep 2024 01:23:50 +0000 Subject: [PATCH] 8339298: Remove unused function declaration poll_for_safepoint Reviewed-by: fyang, chagedorn --- src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.hpp | 2 -- src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.hpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.hpp b/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.hpp index ef1b5fe2703..77edbd7bc0a 100644 --- a/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.hpp +++ b/src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.hpp @@ -60,8 +60,6 @@ friend class ArrayCopyStub; void casw(Register addr, Register newval, Register cmpval); void casl(Register addr, Register newval, Register cmpval); - void poll_for_safepoint(relocInfo::relocType rtype, CodeEmitInfo* info = nullptr); - static const int max_tableswitches = 20; struct tableswitch switches[max_tableswitches]; int tableswitch_count; diff --git a/src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.hpp b/src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.hpp index 4388d0cf4d7..4ce7eb2bf73 100644 --- a/src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.hpp +++ b/src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.hpp @@ -62,8 +62,6 @@ private: void caswu(Register addr, Register newval, Register cmpval); void casl(Register addr, Register newval, Register cmpval); - void poll_for_safepoint(relocInfo::relocType rtype, CodeEmitInfo* info = nullptr); - void deoptimize_trap(CodeEmitInfo *info); enum {