[code-reflection] Integrated: 8374550: API for casting Value to Op.Result and Block.Parameter
Ruby Chen
duke at openjdk.org
Thu Jan 8 19:32:11 UTC 2026
On Mon, 5 Jan 2026 20:58:14 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.
This pull request has now been integrated.
Changeset: 79251923
Author: Ruby Chen <ruby.r.chen at gmail.com>
Committer: Paul Sandoz <psandoz at openjdk.org>
URL: https://git.openjdk.org/babylon/commit/7925192394fbfa29a24693ccc07bef378da3f161
Stats: 111 lines in 2 files changed: 111 ins; 0 del; 0 mod
8374550: API for casting Value to Op.Result and Block.Parameter
Reviewed-by: psandoz
-------------
PR: https://git.openjdk.org/babylon/pull/816
More information about the babylon-dev
mailing list