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'm in favor of removing `ldc(ConstantDesc)`, keeping the `ldc(LoadableConstantEntry)` for advanced uses. It's easier to add something back in than to remove a mistake, and if we leave this as-is I think we'll be doomed to trip over this over and over. ------------- PR Comment: https://git.openjdk.org/jdk/pull/21259#issuecomment-2383236737