From 739347f0932dd079ca9d2d88d8ee03fa34b09365 Mon Sep 17 00:00:00 2001 From: Claes Redestad Date: Wed, 7 Oct 2020 17:10:37 +0000 Subject: [PATCH] 8254168: Remove TemplateTable::count_calls Reviewed-by: coleenp --- src/hotspot/cpu/aarch64/templateTable_aarch64.cpp | 5 ----- src/hotspot/cpu/arm/templateTable_arm.cpp | 6 ------ src/hotspot/cpu/x86/templateTable_x86.cpp | 5 ----- src/hotspot/share/interpreter/templateTable.hpp | 1 - 4 files changed, 17 deletions(-) diff --git a/src/hotspot/cpu/aarch64/templateTable_aarch64.cpp b/src/hotspot/cpu/aarch64/templateTable_aarch64.cpp index eb89a63f0ef..842f07ae9a0 100644 --- a/src/hotspot/cpu/aarch64/templateTable_aarch64.cpp +++ b/src/hotspot/cpu/aarch64/templateTable_aarch64.cpp @@ -3192,11 +3192,6 @@ void TemplateTable::fast_xaccess(TosState state) //----------------------------------------------------------------------------- // Calls -void TemplateTable::count_calls(Register method, Register temp) -{ - __ call_Unimplemented(); -} - void TemplateTable::prepare_invoke(int byte_no, Register method, // linked method (or i-klass) Register index, // itable index, MethodType, etc. diff --git a/src/hotspot/cpu/arm/templateTable_arm.cpp b/src/hotspot/cpu/arm/templateTable_arm.cpp index ab3229bf8a4..c4471d60793 100644 --- a/src/hotspot/cpu/arm/templateTable_arm.cpp +++ b/src/hotspot/cpu/arm/templateTable_arm.cpp @@ -3600,12 +3600,6 @@ void TemplateTable::fast_xaccess(TosState state) { //---------------------------------------------------------------------------------------------------- // Calls -void TemplateTable::count_calls(Register method, Register temp) { - // implemented elsewhere - ShouldNotReachHere(); -} - - void TemplateTable::prepare_invoke(int byte_no, Register method, // linked method (or i-klass) Register index, // itable index, MethodType, etc. diff --git a/src/hotspot/cpu/x86/templateTable_x86.cpp b/src/hotspot/cpu/x86/templateTable_x86.cpp index ecd1d8bc496..2f1cda2d5f9 100644 --- a/src/hotspot/cpu/x86/templateTable_x86.cpp +++ b/src/hotspot/cpu/x86/templateTable_x86.cpp @@ -3611,11 +3611,6 @@ void TemplateTable::fast_xaccess(TosState state) { //----------------------------------------------------------------------------- // Calls -void TemplateTable::count_calls(Register method, Register temp) { - // implemented elsewhere - ShouldNotReachHere(); -} - void TemplateTable::prepare_invoke(int byte_no, Register method, // linked method (or i-klass) Register index, // itable index, MethodType, etc. diff --git a/src/hotspot/share/interpreter/templateTable.hpp b/src/hotspot/share/interpreter/templateTable.hpp index 3f9e3438be5..ff5d2c33880 100644 --- a/src/hotspot/share/interpreter/templateTable.hpp +++ b/src/hotspot/share/interpreter/templateTable.hpp @@ -235,7 +235,6 @@ class TemplateTable: AllStatic { static void float_cmp (int unordered_result); static void double_cmp(int unordered_result); - static void count_calls(Register method, Register temp); static void branch(bool is_jsr, bool is_wide); static void if_0cmp (Condition cc); static void if_icmp (Condition cc);