RFR: 8364150: RISC-V: Leftover for JDK-8343430 removing old trampoline call [v2]

Fei Yang fyang at openjdk.org
Mon Jul 28 13:01:43 UTC 2025


On Mon, 28 Jul 2025 12:51:27 GMT, Hamlin Li <mli at openjdk.org> wrote:

>> Fei Yang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Comment
>
> src/hotspot/cpu/riscv/nativeInst_riscv.cpp line 77:
> 
>> 75:     stub_addr = trampoline_stub_Relocation::get_trampoline_for(call_addr, code->as_nmethod());
>> 76:     assert(stub_addr != nullptr, "Sanity");
>> 77:     return stub_addr;
> 
> Seems this line is not necessary.

Yes! I have removed this redundant return statement.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/26495#discussion_r2236346532


More information about the hotspot-compiler-dev mailing list