[code-reflection] RFR: Improved NormalizeBlocksTransformer and its application in BytecodeGenerator. [v6]
Adam Sotona
asotona at openjdk.org
Thu Jan 15 17:59:15 UTC 2026
On Thu, 15 Jan 2026 17:21:47 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
>> Adam Sotona has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains eight commits:
>>
>> - Merge remote-tracking branch 'babylon/code-reflection' into skip-cbranch-transform
>> - fixed javadoc
>>
>> - added test
>>
>> - removed debug prints
>>
>> - Merge of SKIP_CBRANCH_TRANSFORM with NormalizeBlocksTransformer
>>
>> - Merge remote-tracking branch 'babylon/code-reflection' into skip-cbranch-transform
>> - removed debug print
>>
>> - Skip constant conditional branch transformation.
>
> src/jdk.incubator.code/share/classes/jdk/incubator/code/analysis/NormalizeBlocksTransformer.java line 140:
>
>> 138: && cbo.trueBranch().arguments().isEmpty()
>> 139: && cbo.falseBranch().arguments().isEmpty();
>> 140: }
>
> Eventually i hope we can represent this as a pattern.
That would be great.
-------------
PR Review Comment: https://git.openjdk.org/babylon/pull/829#discussion_r2695397121
More information about the babylon-dev
mailing list