[code-reflection] RFR: Externalizable operations [v2]

Paul Sandoz psandoz at openjdk.org
Wed May 1 16:09:13 UTC 2024


> Rename `OpWithDefinition` to `ExternalizableOp` and specify as an operation whose contents may be externalized.
> Rename `OpDefintion` to `ExternalOpContents`, an instance of which represents the external contents of an operation.
> An externaliziable operation may be constructed from its external contents, for example by using an operation factory. 
> 
> The method `Op::attributes` is removed, and the method is defined on `ExternalizableOp`. The attribute map returned by the method is the external representation of specific contents of an operation.

Paul Sandoz has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:

 - Merge branch 'code-reflection' into extern-op
 - Merge branch 'code-reflection' into extern-op
 - Update Triton example.
 - Updates
 - Externalizable operations.

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

Changes: https://git.openjdk.org/babylon/pull/62/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=62&range=01
  Stats: 688 lines in 18 files changed: 228 ins; 217 del; 243 mod
  Patch: https://git.openjdk.org/babylon/pull/62.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/62/head:pull/62

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


More information about the babylon-dev mailing list