RFR: 8335589: Fix -Wzero-as-null-pointer-constant warnings in IdealLoopTree ctor
Kim Barrett
kbarrett at openjdk.org
Wed Jul 3 05:58:22 UTC 2024
On Wed, 3 Jul 2024 05:29:32 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
>> Please review this trivial change to the IdealLoopTree constructor. The
>> initial values for some pointer-typed data members are changed from 0 to
>> nullptr. This removes ~275 -Wzero-as-null-pointer-constant when that warning
>> is enabled.
>>
>> Testing: mach5 tier1
>
> Looks good and trivial.
Thanks for review, @TobiHartmann
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19995#issuecomment-2205153131
More information about the hotspot-compiler-dev
mailing list