From d42d9e583b4a866c3ad9fd298a466d9b5c1ee174 Mon Sep 17 00:00:00 2001 From: Robbin Ehn Date: Tue, 4 Jun 2024 13:11:00 +0200 Subject: [PATCH] Cleanup --- src/hotspot/cpu/riscv/nativeInst_riscv.cpp | 1 - src/hotspot/cpu/riscv/nativeInst_riscv.hpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/hotspot/cpu/riscv/nativeInst_riscv.cpp b/src/hotspot/cpu/riscv/nativeInst_riscv.cpp index 4f9379bf35ec2..54685923a125e 100644 --- a/src/hotspot/cpu/riscv/nativeInst_riscv.cpp +++ b/src/hotspot/cpu/riscv/nativeInst_riscv.cpp @@ -501,7 +501,6 @@ bool NativeCall::reloc_set_destination(address dest) { } } - bool NativeCall::is_call_before(address return_address) { if (!UseTrampolines) { return NativeFarCall::is_call_before(return_address) || diff --git a/src/hotspot/cpu/riscv/nativeInst_riscv.hpp b/src/hotspot/cpu/riscv/nativeInst_riscv.hpp index 5896211edeeed..5247aebe35e49 100644 --- a/src/hotspot/cpu/riscv/nativeInst_riscv.hpp +++ b/src/hotspot/cpu/riscv/nativeInst_riscv.hpp @@ -53,7 +53,6 @@ class NativeCall; class NativeInstruction { friend class Relocation; - friend bool is_NativeCallTrampolineStub_at(address); public: enum { instruction_size = MacroAssembler::instruction_size,