RFR: 8362284: RISC-V: cleanup NativeMovRegMem [v2]

Hamlin Li mli at openjdk.org
Wed Jul 16 10:48:23 UTC 2025


On Wed, 16 Jul 2025 09:24:20 GMT, Fei Yang <fyang at openjdk.org> wrote:

> Thanks for the cleanup. Looks fine modulo one minor comment.

Thank you!

> src/hotspot/cpu/riscv/nativeInst_riscv.hpp line 232:
> 
>> 230: inline NativeMovRegMem* nativeMovRegMem_at(address addr) {
>> 231:   Unimplemented();
>> 232:   return (NativeMovRegMem*)0;
> 
> Maybe: `return (NativeMovRegMem*)nullptr;`

fixed.

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

PR Comment: https://git.openjdk.org/jdk/pull/26328#issuecomment-3077996498
PR Review Comment: https://git.openjdk.org/jdk/pull/26328#discussion_r2209970858


More information about the hotspot-compiler-dev mailing list