RFR: 8341411: C2: remove slice parameter from GraphKit::make_load() and GraphKit::store_to_memor()

theoweidmannoracle duke at openjdk.org
Tue Nov 5 13:19:15 UTC 2024


This patch removes the address type from `GraphKit::make_load()` and `GraphKit::store_to_memory()`

As https://github.com/openjdk/jdk/pull/21303 introduced asserts that check that the address type agrees with  `C->get_alias_index(_gvn.type(adr)->isa_ptr()`, passing the address type is redundant and it can be computed internally from the address.

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

Commit messages:
 - 8341411: C2: remove slice parameter from GraphKit::make_load() and GraphKit::store_to_memor()

Changes: https://git.openjdk.org/jdk/pull/21834/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21834&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8341411
  Stats: 63 lines in 8 files changed: 1 ins; 28 del; 34 mod
  Patch: https://git.openjdk.org/jdk/pull/21834.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21834/head:pull/21834

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


More information about the hotspot-dev mailing list