RFR: 8345492: Fix -Wzero-as-null-pointer-constant warnings in adlc code

Kim Barrett kbarrett at openjdk.org
Sun Mar 2 23:39:04 UTC 2025


On Wed, 26 Feb 2025 16:43:14 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Please review this trivial change to adlc, to use nullptr instead of literal 0
>> as a null pointer constant.
>> 
>> Testing: mach5 tier1
>> Locally tested (linux-x64) with -Wzero-as-null-pointer-constant enabled to
>> verify the warnings associated with this code were removed.
>
> Good.

Thanks for reviews @vnkozlov and @dean-long

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

PR Comment: https://git.openjdk.org/jdk/pull/23804#issuecomment-2692968875


More information about the hotspot-compiler-dev mailing list