RFR: 8341411: C2: remove slice parameter from GraphKit::make_load() and GraphKit::store_to_memory() [v2]

theoweidmannoracle duke at openjdk.org
Thu Nov 7 10:14:03 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.

theoweidmannoracle has updated the pull request incrementally with one additional commit since the last revision:

  Remove unnecessary store_to_memory param/overload

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21834/files
  - new: https://git.openjdk.org/jdk/pull/21834/files/a595ddd9..f89f2cf4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21834&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21834&range=00-01

  Stats: 25 lines in 5 files changed: 0 ins; 17 del; 8 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 graal-dev mailing list