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

Kim Barrett kbarrett at openjdk.org
Thu Jul 4 10:08:25 UTC 2024


On Thu, 4 Jul 2024 07:06:39 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this trivial 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: cf1be872
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cf1be87279ddfb2a9fd272e0b245fccd7ec10972
Stats:     7 lines in 4 files changed: 0 ins; 0 del; 7 mod

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

Reviewed-by: jwaters, chagedorn

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

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


More information about the hotspot-compiler-dev mailing list