[code-reflection] RFR: Reduce number of local variables when transforming code model builder to AST [v3]

Mourad Abbay mabbay at openjdk.org
Fri Apr 25 00:19:48 UTC 2025


> For CODE_BUILDER option, we transform code model builder to equivalent AST. We were introducing local variables for very expressions, as a result we were closer to the limit on local variables. In this PR, we add local variables where it's needed.

Mourad Abbay has updated the pull request incrementally with one additional commit since the last revision:

  Add SYNTHETIC flag to the var symbol we add to the AST

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/410/files
  - new: https://git.openjdk.org/babylon/pull/410/files/f64ebf4f..18202044

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=410&range=02
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=410&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/babylon/pull/410.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/410/head:pull/410

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


More information about the babylon-dev mailing list