[code-reflection] RFR: Replace the use of Interpreter to create Quoted instance with specialized code [v13]

Maurizio Cimadamore mcimadamore at openjdk.org
Wed Jun 4 10:54:37 UTC 2025


On Tue, 3 Jun 2025 14:55:14 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> I wanted to ensure both methods are purely symbolic, given their current location. Perhaps they would be better located on `Quoted`? Then we can lean into returning a `Quoted` instance and `QuotedHelper` can be removed.

API-wise, I think that subjectively feels like a superior solution -- e.g. one of these two method is, effectively, a factory of `Quoted` and should belong there. Then of course the other one could come along for the ride (or maybe turn into an instance method in `FuncOp`).

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

PR Review Comment: https://git.openjdk.org/babylon/pull/424#discussion_r2126302081


More information about the babylon-dev mailing list