RFR: JDK-8301074: Replace NULL with nullptr in share/opto/ [v5]

Jesper Wilhelmsson jwilhelm at openjdk.org
Tue Mar 7 18:48:22 UTC 2023


On Tue, 7 Mar 2023 15:11:04 GMT, Jesper Wilhelmsson <jwilhelm at openjdk.org> wrote:

>> Johan Sjölen has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 10 commits:
>> 
>>  - Merge remote-tracking branch 'origin/JDK-8301074' into JDK-8301074
>>  - Explicitly use 0 for null in ARM interpreter
>>  - Merge remote-tracking branch 'origin/master' into JDK-8301074
>>  - Remove trailing whitespace
>>  - Check for null string explicitly
>>  - vkozlov fixes
>>  - Manual review fixes
>>  - Fix
>>  - Fix compile errors
>>  -  Replace NULL with nullptr in share/opto/
>
> src/hotspot/share/opto/compile.cpp line 301:
> 
>> 299: 
>> 300:   // Initialize worklist
>> 301:   if (root() != nullptr)     { useful.push(root()); }
> 
> Looks like the braces was aligned before.

(With line 303.)

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

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


More information about the hotspot-compiler-dev mailing list