RFR: 7903146: TypeTranslator is no longer needed [v2]
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Wed Apr 6 15:58:33 UTC 2022
> Now that ValueLayout has carrier information attached, we no longer need to perform two separate visit on a function type, one to get a FunctionDescriptor and one to get a MethodType. We can just get a FunctionDescriptor and derive everything from there.
>
> This patch applies several cleanups on OutputFactory, to flatten the code, and remove some spaghetti lambdas. It also drops the FunctionInfo/VarInfo abstraction, since now that we can derive most of the info from layouts, these do not seem to add much value.
Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
Update copyright
-------------
Changes:
- all: https://git.openjdk.java.net/jextract/pull/14/files
- new: https://git.openjdk.java.net/jextract/pull/14/files/ec0d65f4..26055ff2
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jextract&pr=14&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jextract&pr=14&range=00-01
Stats: 9 lines in 8 files changed: 0 ins; 1 del; 8 mod
Patch: https://git.openjdk.java.net/jextract/pull/14.diff
Fetch: git fetch https://git.openjdk.java.net/jextract pull/14/head:pull/14
PR: https://git.openjdk.java.net/jextract/pull/14
More information about the jextract-dev
mailing list