On Wed, 22 Feb 2023 17:03:16 GMT, Jorn Vernee <jver...@openjdk.org> wrote:
> (I'd be happy to implement the needed changes in shared code if you want, > since it touches `BindingSpecializer` which is pretty dense) FYI: https://github.com/openjdk/jdk/compare/master...JornVernee:jdk:I2L (assuming `I2L` has the same semantics as `extsw`). Then just add a `.cast(int.class, long.class)` wherever an `int` is stored. ------------- PR: https://git.openjdk.org/jdk/pull/12708