[code-reflection] RFR: Disallow insertion of a root op in a block [v6]
Mourad Abbay
mabbay at openjdk.org
Fri Aug 1 20:47:23 UTC 2025
> A root operation shouldn't be inserted in a block. This changes enforce this rule.
Mourad Abbay has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 11 commits:
- Test that freezing an already bound op, throws
- Test that structural quoted lambda are frozen
- Update method Op.parentBlock to take into account frozen operations
- Force copying of a frozen operation
- Freeze code models we produce, in the OpBuilder
- Merge branch 'code-reflection' into root-op-insertion
- Not leak out the special Result value
- Remove trace of previous attempt
- Implement freezing of an op
- Merge branch 'code-reflection' into root-op-insertion
# Conflicts:
# src/jdk.incubator.code/share/classes/jdk/incubator/code/op/CoreOp.java
- ... and 1 more: https://git.openjdk.org/babylon/compare/32de7710...6e873fd4
-------------
Changes: https://git.openjdk.org/babylon/pull/425/files
Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=425&range=05
Stats: 116 lines in 5 files changed: 112 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/babylon/pull/425.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/425/head:pull/425
PR: https://git.openjdk.org/babylon/pull/425
More information about the babylon-dev
mailing list