On Mon, 30 Sep 2024 10:03:57 GMT, Shaojin Wen <s...@openjdk.org> wrote:

> The new API loadConstant(int) can shorten the calling path and can replace 
> ldc when the parameter is of int/Integer type.

I consider this a bug in the API, too. Perhaps we could assert against usage 
that would have been better expressed as a `loadConstant`?

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

PR Comment: https://git.openjdk.org/jdk/pull/21259#issuecomment-2383102281

Reply via email to