Skip to content

Commit

Permalink
Remove check for macro COMPILER2_OR_JVMCI in generate_compiler_stubs …
Browse files Browse the repository at this point in the history
…function
  • Loading branch information
zifeihan committed Jul 30, 2024
1 parent d9055e6 commit 9d3b6d2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/hotspot/cpu/riscv/stubGenerator_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5936,7 +5936,6 @@ static const int64_t right_3_bits = right_n_bits(3);
}

void generate_compiler_stubs() {
#if COMPILER2_OR_JVMCI
#ifdef COMPILER2
if (UseMulAddIntrinsic) {
StubRoutines::_mulAdd = generate_mulAdd();
Expand Down Expand Up @@ -6000,13 +5999,12 @@ static const int64_t right_3_bits = right_n_bits(3);
if (UseAdler32Intrinsics) {
StubRoutines::_updateBytesAdler32 = generate_updateBytesAdler32();
}
#endif // COMPILER2

generate_compare_long_strings();

generate_string_indexof_stubs();

#endif // COMPILER2_OR_JVMCI
#endif // COMPILER2
}

public:
Expand Down

0 comments on commit 9d3b6d2

Please sign in to comment.