[code-reflection] RFR: Remove bytecode dialect [v12]

Paul Sandoz psandoz at openjdk.org
Thu Feb 8 20:11:02 UTC 2024


On Thu, 8 Feb 2024 19:56:24 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> This patch re-implements `BytecodeLift` to lift from bytecode directly to the core dialect
>> and removes `BytecodeInstructionOps` with the bytecode dialect.
>> 
>> Implementation is complete up to the point of passing all current tests.
>> 
>> Please review.
>> 
>> Thanks,
>> Adam
>
> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Implemented skipping of unitialized blocks and dead code detection
>   + added tests for back jumps and dead code

The single pass approach is starting to get rather complex. Do you think it would be simpler to revert back to a two pass approach where code blocks covering the byetcode instructions are first assembled with their successors, and then we operate on blocks using a work queue?

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

PR Comment: https://git.openjdk.org/babylon/pull/16#issuecomment-1934857176


More information about the babylon-dev mailing list