[code-reflection] RFR: Replace methods "create" in Op subclasses by constructors [v2]
Mourad Abbay
mabbay at openjdk.org
Mon Sep 29 19:20:20 UTC 2025
> By using flexible constructor bodies feature, we get rid of methods "create" in Op subclasses and we replace it with constructors. We also remove unused constructors and methods in Op subclasses.
Mourad Abbay has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:
- Restore constructor and method that have usage
- Merge branch 'code-reflection' into rm-op-create
# Conflicts:
# src/jdk.incubator.code/share/classes/jdk/incubator/code/dialect/core/CoreOp.java
- Remove unused constructors and methods
- Replace methods that create Ops from ExternalizedOp, by constructors
-------------
Changes: https://git.openjdk.org/babylon/pull/584/files
Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=584&range=01
Stats: 90 lines in 2 files changed: 13 ins; 22 del; 55 mod
Patch: https://git.openjdk.org/babylon/pull/584.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/584/head:pull/584
PR: https://git.openjdk.org/babylon/pull/584
More information about the babylon-dev
mailing list