[code-reflection] RFR: Code transformer

Adam Sotona asotona at openjdk.org
Fri Nov 21 13:59:42 UTC 2025


On Thu, 20 Nov 2025 23:50:52 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> Rename `OpTransformer` to `CodeTransformer`, and `CopyContext` to `CodeContext`.
> 
> Add a simplified operation transformer which is composed into a code transformer, for cases where operations are mostly replaced with one or more other operations (replacing with zero other operations is also possible). In such cases it is not necessary to deal with the code context and value mappings, nor return the block builder, as is required with a code transformer.

Marked as reviewed by asotona (Reviewer).

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

PR Review: https://git.openjdk.org/babylon/pull/690#pullrequestreview-3492867873


More information about the babylon-dev mailing list