Integrated: 7903145: Cleanup TreeMaker

Maurizio Cimadamore mcimadamore at openjdk.java.net
Wed Apr 6 14:10:58 UTC 2022


On Wed, 6 Apr 2022 10:18:43 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This patch flattens the code in TreeMaker. The code uses several functional interfaces to abstract over the fact that a certain "tree" has to be created with or without a layout. This patch makes the code simpler, by adding general ways to construct scoped and variable declarations (e.g. from a kind) and by dropping the functional interfaces/method reference factory indirection.

This pull request has now been integrated.

Changeset: ed01ef84
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/jextract/commit/ed01ef84fcb813b67b051eeab7e801cd428e33b2
Stats:     127 lines in 2 files changed: 47 ins; 36 del; 44 mod

7903145: Cleanup TreeMaker

Reviewed-by: sundar

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

PR: https://git.openjdk.java.net/jextract/pull/13


More information about the jextract-dev mailing list