Integrated: 8337243: Fix more -Wzero-as-null-pointer-constant warnings in compiler code
Kim Barrett
kbarrett at openjdk.org
Fri Jul 26 15:49:36 UTC 2024
On Thu, 25 Jul 2024 23:59:54 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this (perhaps trivial?) change that removes some uses of literal
> 0 as a null pointer constant in compiler code. Most are changed to use nullptr.
> There are a couple where the better approach is to use a value-initialized
> object of the appropriate template parameter type.
>
> Testing: mach5 tier1
This pull request has now been integrated.
Changeset: 4bcb8f04
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4bcb8f04ed3623da7c84dda28017f473cbc97e53
Stats: 14 lines in 7 files changed: 0 ins; 0 del; 14 mod
8337243: Fix more -Wzero-as-null-pointer-constant warnings in compiler code
Reviewed-by: vlivanov, kvn
-------------
PR: https://git.openjdk.org/jdk/pull/20343
More information about the hotspot-compiler-dev
mailing list