Skip to content

Commit 6712f8c

Browse files
committed
8254084: Remove TemplateTable::pd_initialize
Reviewed-by: mdoerr, coleenp
1 parent 82fe023 commit 6712f8c

File tree

7 files changed

+1
-35
lines changed

7 files changed

+1
-35
lines changed

src/hotspot/cpu/aarch64/templateTable_aarch64.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@
4444

4545
#define __ _masm->
4646

47-
// Platform-dependent initialization
48-
49-
void TemplateTable::pd_initialize() {
50-
// No aarch64 specific initialization
51-
}
52-
5347
// Address computation: local variables
5448

5549
static inline Address iaddress(int n) {

src/hotspot/cpu/arm/templateTable_arm.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@
4343

4444
#define __ _masm->
4545

46-
//----------------------------------------------------------------------------------------------------
47-
// Platform-dependent initialization
48-
49-
void TemplateTable::pd_initialize() {
50-
// No arm specific initialization
51-
}
52-
5346
//----------------------------------------------------------------------------------------------------
5447
// Address computation
5548

src/hotspot/cpu/ppc/templateTable_ppc_64.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,6 @@ static void do_oop_load(InterpreterMacroAssembler* _masm,
8080
__ load_heap_oop(dst, offset, base, tmp1, tmp2, false, decorators);
8181
}
8282

83-
// ============================================================================
84-
// Platform-dependent initialization
85-
86-
void TemplateTable::pd_initialize() {
87-
// No ppc64 specific initialization.
88-
}
89-
9083
Address TemplateTable::at_bcp(int offset) {
9184
// Not used on ppc.
9285
ShouldNotReachHere();

src/hotspot/cpu/s390/templateTable_s390.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,6 @@
110110
}
111111
#endif // ASSERT
112112

113-
// Platform-dependent initialization.
114-
115-
void TemplateTable::pd_initialize() {
116-
// No specific initialization.
117-
}
118-
119113
// Address computation: local variables
120114

121115
static inline Address iaddress(int n) {

src/hotspot/cpu/x86/templateTable_x86.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@
4747
static const Register rbcp = LP64_ONLY(r13) NOT_LP64(rsi);
4848
static const Register rlocals = LP64_ONLY(r14) NOT_LP64(rdi);
4949

50-
// Platform-dependent initialization
51-
void TemplateTable::pd_initialize() {
52-
// No x86 specific initialization
53-
}
54-
5550
// Address Computation: local variables
5651
static inline Address iaddress(int n) {
5752
return Address(rlocals, Interpreter::local_offset_in_bytes(n));

src/hotspot/share/interpreter/templateTable.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,6 @@ void TemplateTable::initialize() {
498498
def(Bytecodes::_nofast_iload , ubcp|____|clvm|____, vtos, itos, nofast_iload , _ );
499499

500500
def(Bytecodes::_shouldnotreachhere , ____|____|____|____, vtos, vtos, shouldnotreachhere , _ );
501-
// platform specific bytecodes
502-
pd_initialize();
503501
}
504502

505503
void TemplateTable::unimplemented_bc() {

src/hotspot/share/interpreter/templateTable.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ class TemplateTable: AllStatic {
328328
// initialization helpers
329329
static void def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)( ), char filler );
330330
static void def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(int arg ), int arg );
331-
static void def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(bool arg ), bool arg );
331+
static void def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(bool arg ), bool arg );
332332
static void def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(TosState tos), TosState tos);
333333
static void def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(Operation op), Operation op);
334334
static void def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(Condition cc), Condition cc);
@@ -341,7 +341,6 @@ class TemplateTable: AllStatic {
341341
public:
342342
// Initialization
343343
static void initialize();
344-
static void pd_initialize();
345344

346345
// Templates
347346
static Template* template_for (Bytecodes::Code code) { Bytecodes::check (code); return &_template_table [code]; }

0 commit comments

Comments
 (0)