[code-reflection] RFR: 8374550: API for casting Value to Op.Result and Block.Parameter [v3]

duke duke at openjdk.org
Tue Jan 6 01:42:21 UTC 2026


On Tue, 6 Jan 2026 01:37:18 GMT, Ruby Chen <duke at openjdk.org> wrote:

>> This PR adds two methods, `Value::result()` and `Value::parameter()`, which cast a given Value as a Op.Result or Block.Parameter. If the cast fails, the two methods throw an IllegalStateException.
>
> Ruby Chen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update copyright
>   
>   Co-authored-by: Paul Sandoz <paul.d.sandoz at googlemail.com>

@rbrchen 
Your change (at version 5da253c6aacab3c973338f7954982543c5037d8b) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/babylon/pull/816#issuecomment-3712760463


More information about the babylon-dev mailing list