From 7b3919d3f5efa87f473ba6cc9d8284937ac3aaea Mon Sep 17 00:00:00 2001 From: Tobias Hartmann Date: Tue, 31 Jan 2023 06:46:47 +0000 Subject: [PATCH] 8301346: Remove dead emit_entry_barrier_stub definition Reviewed-by: chagedorn, kvn --- src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp | 3 --- src/hotspot/cpu/arm/c2_MacroAssembler_arm.hpp | 3 --- src/hotspot/cpu/ppc/c2_MacroAssembler_ppc.hpp | 3 --- src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.hpp | 3 --- src/hotspot/cpu/s390/c2_MacroAssembler_s390.hpp | 3 --- src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp | 3 --- 6 files changed, 18 deletions(-) diff --git a/src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp b/src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp index 1c4c53f1a93..834c1c7795e 100644 --- a/src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp +++ b/src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp @@ -35,9 +35,6 @@ enum shift_kind kind = Assembler::LSL, unsigned shift = 0); public: - void emit_entry_barrier_stub(C2EntryBarrierStub* stub); - static int entry_barrier_stub_size(); - void string_compare(Register str1, Register str2, Register cnt1, Register cnt2, Register result, Register tmp1, Register tmp2, FloatRegister vtmp1, diff --git a/src/hotspot/cpu/arm/c2_MacroAssembler_arm.hpp b/src/hotspot/cpu/arm/c2_MacroAssembler_arm.hpp index d04b6030d9e..c2fe811bf32 100644 --- a/src/hotspot/cpu/arm/c2_MacroAssembler_arm.hpp +++ b/src/hotspot/cpu/arm/c2_MacroAssembler_arm.hpp @@ -28,9 +28,6 @@ // C2_MacroAssembler contains high-level macros for C2 public: - void emit_entry_barrier_stub(C2EntryBarrierStub* stub) {} - static int entry_barrier_stub_size() { return 0; } - // Compare char[] arrays aligned to 4 bytes. void char_arrays_equals(Register ary1, Register ary2, Register limit, Register result, diff --git a/src/hotspot/cpu/ppc/c2_MacroAssembler_ppc.hpp b/src/hotspot/cpu/ppc/c2_MacroAssembler_ppc.hpp index d21aa0f22a0..ef4840b08a2 100644 --- a/src/hotspot/cpu/ppc/c2_MacroAssembler_ppc.hpp +++ b/src/hotspot/cpu/ppc/c2_MacroAssembler_ppc.hpp @@ -28,9 +28,6 @@ // C2_MacroAssembler contains high-level macros for C2 public: - void emit_entry_barrier_stub(C2EntryBarrierStub* stub) {} - static int entry_barrier_stub_size() { return 0; } - // Intrinsics for CompactStrings // Compress char[] to byte[] by compressing 16 bytes at once. void string_compress_16(Register src, Register dst, Register cnt, diff --git a/src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.hpp b/src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.hpp index d3ea4d6b4ca..ad40cc23a22 100644 --- a/src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.hpp +++ b/src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.hpp @@ -39,9 +39,6 @@ VectorRegister vrs, bool is_latin, Label& DONE); public: - void emit_entry_barrier_stub(C2EntryBarrierStub* stub); - static int entry_barrier_stub_size(); - void string_compare(Register str1, Register str2, Register cnt1, Register cnt2, Register result, Register tmp1, Register tmp2, Register tmp3, diff --git a/src/hotspot/cpu/s390/c2_MacroAssembler_s390.hpp b/src/hotspot/cpu/s390/c2_MacroAssembler_s390.hpp index 98d34384968..a502e41ee08 100644 --- a/src/hotspot/cpu/s390/c2_MacroAssembler_s390.hpp +++ b/src/hotspot/cpu/s390/c2_MacroAssembler_s390.hpp @@ -29,9 +29,6 @@ // C2_MacroAssembler contains high-level macros for C2 public: - void emit_entry_barrier_stub(C2EntryBarrierStub* stub) {} - static int entry_barrier_stub_size() { return 0; } - //------------------------------------------- // Special String Intrinsics Implementation. //------------------------------------------- diff --git a/src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp b/src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp index 65209f6c9fd..007f2eb56e6 100644 --- a/src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp +++ b/src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp @@ -31,9 +31,6 @@ public: // C2 compiled method's prolog code. void verified_entry(int framesize, int stack_bang_size, bool fp_mode_24b, bool is_stub); - void emit_entry_barrier_stub(C2EntryBarrierStub* stub); - static int entry_barrier_stub_size(); - Assembler::AvxVectorLen vector_length_encoding(int vlen_in_bytes); // Code used by cmpFastLock and cmpFastUnlock mach instructions in .ad file.