Integrated: 8336349: Fix more simple -Wzero-as-null-pointer-constant warnings in C2 code

Kim Barrett kbarrett at openjdk.org
Mon Jul 15 16:02:55 UTC 2024


On Sun, 14 Jul 2024 12:00:22 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this change that replaces some uses of literal 0 as a null
> pointer constant in C2 code to instead use nullptr.
> 
> Testing: mach5 tier1

This pull request has now been integrated.

Changeset: 388fcf03
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/388fcf03c02c41bb690733e8565642c24ead56e0
Stats:     42 lines in 17 files changed: 0 ins; 0 del; 42 mod

8336349: Fix more simple -Wzero-as-null-pointer-constant warnings in C2 code

Reviewed-by: kvn, shade

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

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


More information about the hotspot-compiler-dev mailing list