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

Christian Hagedorn chagedorn at openjdk.org
Thu Jul 4 08:12:18 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

Looks good and trivial.

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

Marked as reviewed by chagedorn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20022#pullrequestreview-2158269836


More information about the hotspot-compiler-dev mailing list