[code-reflection] RFR: Disallow insertion of a root op in a block [v7]

Mourad Abbay mabbay at openjdk.org
Fri Aug 1 22:07:47 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 12 commits:

 - Merge branch 'code-reflection' into root-op-insertion
   
   # Conflicts:
   #	src/jdk.incubator.code/share/classes/jdk/incubator/code/Op.java
   #	src/jdk.incubator.code/share/classes/jdk/incubator/code/internal/OpBuilder.java
 - 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
 - ... and 2 more: https://git.openjdk.org/babylon/compare/9e465bb6...e2979129

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

Changes: https://git.openjdk.org/babylon/pull/425/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=425&range=06
  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