On Tue, 23 Jan 2024 09:31:51 GMT, Quan Anh Mai <qa...@openjdk.org> wrote:

> Maybe I am ignorant but doesn't the definition of an intrinsics contain the 
> signature of the method as well?

The definitions in `vmIntrinsics`, sure, they require full signature for 
`@IntrinsicCandidate` methods. It would yield some unfortunate duplication. But 
after that, we can map on the same `inline_isCompileConstant` intrinsic that 
just asks `arg(0)->is_Con()`, and it would not care about the type of the 
constant.

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

PR Comment: https://git.openjdk.org/jdk/pull/17527#issuecomment-1905667006

Reply via email to