[code-reflection] RFR: ModuleOp generation from LambdaOp and FuncOp [v8]

Ruby Chen duke at openjdk.org
Tue Dec 9 01:08:10 UTC 2025


> Add support for generating a ModuleOp from either a LambdaOp or a FuncOp. The given LambdaOp will be converted into the root FuncOp, and the given FuncOp will be assigned as the root FuncOp.
> 
> For `CoreOp.ModuleOp.ofLambdaOp()`, a unique name for the new root FuncOp must be passed as a parameter.

Ruby Chen has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 12 additional commits since the last revision:

 - fixes
 - Merge branch 'openjdk:code-reflection' into module-op-support
 - fixed tests
 - Merge branch 'openjdk:code-reflection' into module-op-support
 - Add tests
 - Merge branch 'openjdk:code-reflection' into module-op-support
 - removing commented code
 - Suggested changes
 - Merge branch 'openjdk:code-reflection' into module-op-support
 - Merge branch 'openjdk:code-reflection' into module-op-support
 - ... and 2 more: https://git.openjdk.org/babylon/compare/be6432ca...e70019bf

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/691/files
  - new: https://git.openjdk.org/babylon/pull/691/files/1cc33001..e70019bf

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=691&range=07
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=691&range=06-07

  Stats: 5297 lines in 115 files changed: 2121 ins; 2586 del; 590 mod
  Patch: https://git.openjdk.org/babylon/pull/691.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/691/head:pull/691

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


More information about the babylon-dev mailing list