RFR: JDK-8301498: Replace NULL with nullptr in cpu/x86 [v2]

Vladimir Kozlov kvn at openjdk.org
Mon Feb 13 15:56:32 UTC 2023


On Mon, 13 Feb 2023 01:31:21 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> src/hotspot/cpu/x86/interp_masm_x86.cpp line 303:
>> 
>>> 301:     jcc(Assembler::equal, L);
>>> 302:     stop("InterpreterMacroAssembler::call_VM_base:"
>>> 303:          " last_sp != nullptr");
>> 
>> `null`
>
> These are textual code fragments so I think `nullptr` is more appropriate - as per changes made to cpu/arm code.

Right.

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

PR: https://git.openjdk.org/jdk/pull/12326


More information about the shenandoah-dev mailing list