[code-reflection] RFR: Drop ClosureOp and ClosureOpCall
Paul Sandoz
psandoz at openjdk.org
Fri Nov 7 15:34:05 UTC 2025
On Fri, 7 Nov 2025 10:40:29 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> When looking at this, I was a bit surprised to see that some core ops implement interfaces defined by `JavaOp`.
The intent by implementing those marker interfaces was to signal how these operations can model java expressions or java statements, but they can also be used in other contexts. `ReturnOp` connects with `FuncOp`, `YeildOp` connects with bodies, the branch ops connect with blocks etc. It's a bit blurry sometimes.
-------------
PR Comment: https://git.openjdk.org/babylon/pull/668#issuecomment-3503212342
More information about the babylon-dev
mailing list