RFR: 8335589: Fix -Wzero-as-null-pointer-constant warnings in IdealLoopTree ctor
Tobias Hartmann
thartmann at openjdk.org
Wed Jul 3 05:32:17 UTC 2024
On Wed, 3 Jul 2024 04:38:55 GMT, Kim Barrett <kbarrett 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.
-------------
Marked as reviewed by thartmann (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/19995#pullrequestreview-2155487766
More information about the hotspot-compiler-dev
mailing list