[code-reflection] RFR: Skip bytecode dialect

Adam Sotona asotona at openjdk.org
Mon Jan 29 15:58:04 UTC 2024


This is the first step to avoid custom bytecode dialect. Second step will be to rewrite BytecodeLift. 

BytecodeGenerator now consumes CoreOps and generates bytecode directly.

Two try-finally test cases are disabled due to invalid structure (missing exception.region.exit for some finalizers).
All other tests are passing.

Calculation of try-catch regions is still very raw and needs some future improvements. 

Please review.

Thanks,
Adam

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

Commit messages:
 - removed BytecodeLower
 - disabled failing tests
 - work in progress
 - work in progress
 - work in progress
 - work in progress
 - work in progress

Changes: https://git.openjdk.org/babylon/pull/9/files
 Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=9&range=00
  Stats: 1969 lines in 13 files changed: 870 ins; 1048 del; 51 mod
  Patch: https://git.openjdk.org/babylon/pull/9.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/9/head:pull/9

PR: https://git.openjdk.org/babylon/pull/9


More information about the babylon-dev mailing list