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

Paul Sandoz psandoz at openjdk.org
Thu Jan 8 19:30:38 UTC 2026


On Tue, 6 Jan 2026 01:42:21 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>

Marked as reviewed by psandoz (Lead).

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

PR Review: https://git.openjdk.org/babylon/pull/816#pullrequestreview-3640931275


More information about the babylon-dev mailing list