It might be possible to go even further and remove them from LoadNode::make and analogously in Store.
Then in the GC API it might not be necessary to pass adr_type anymore in:
C2AccessValuePtr addr(adr, adr_type);
C2ParseAccess access(this, decorators | C2_READ_ACCESS, bt, obj, addr);
See https://github.com/openjdk/jdk/pull/21834#pullrequestreview-2429164805 for the original comment pointing this out
- relates to
-
JDK-8341411 C2: remove slice parameter from GraphKit::make_load() and GraphKit::store_to_memory()
- Resolved