[code-reflection] RFR: 8374550: API for casting Value to Op.Result and Block.Parameter [v3]
Ruby Chen
duke at openjdk.org
Tue Jan 6 01:42:21 UTC 2026
> 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>
-------------
Changes:
- all: https://git.openjdk.org/babylon/pull/816/files
- new: https://git.openjdk.org/babylon/pull/816/files/616a25ed..5da253c6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=babylon&pr=816&range=02
- incr: https://webrevs.openjdk.org/?repo=babylon&pr=816&range=01-02
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/babylon/pull/816.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/816/head:pull/816
PR: https://git.openjdk.org/babylon/pull/816
More information about the babylon-dev
mailing list