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

Kim Barrett kbarrett at openjdk.org
Sun Jul 14 12:09:28 UTC 2024


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

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

Commit messages:
 - more simple C2

Changes: https://git.openjdk.org/jdk/pull/20174/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20174&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8336349
  Stats: 42 lines in 17 files changed: 0 ins; 0 del; 42 mod
  Patch: https://git.openjdk.org/jdk/pull/20174.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20174/head:pull/20174

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


More information about the hotspot-compiler-dev mailing list