openjdk-21/backport-of-8339298-Remove-unused-function-declarati.patch

37 lines
1.4 KiB
Diff
Raw Normal View History

2025-02-21 15:44:10 +08:00
Subject: backport of 8339298: Remove unused function declaration poll_for_safepoint
---
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 43ec18925..fcb6d2943 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 04e76796c..a74bf1611 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 {
--
2.33.0