Integrated: 8335592: Fix -Wzero-as-null-pointer-constant warnings in RootNode ctor

Kim Barrett kbarrett at openjdk.org
Wed Jul 3 06:00:24 UTC 2024


On Wed, 3 Jul 2024 05:04:03 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this trivial change to the RootNode constructor. Both arguments
> to the LoopNode base class constructor are changed from 0 to nullptr. This
> removes some -Wzero-as-null-pointer-constant warnings when building with that
> enabled.
> 
> Testing: mach5 tier1

This pull request has now been integrated.

Changeset: f3f90dc1
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f3f90dc11a5cbc146a5ef8a73eadf4168373838d
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8335592: Fix -Wzero-as-null-pointer-constant warnings in RootNode ctor

Reviewed-by: thartmann

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

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


More information about the hotspot-compiler-dev mailing list