[fpc-devel] Progress on pure functions
Sven Barth
pascaldragon at googlemail.com
Fri Dec 16 07:44:04 CET 2022
Am 16.12.2022 um 02:02 schrieb J. Gareth Moreton via fpc-devel:
> The purity analysis process is very dependent on the node tree being
> as clean as possible, and so depends on a fair few merge requests that
> have not yet been approved. I'm guessing Florian and Jonas and others
> are somewhat busy, what with being December and all.
>
> - https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/232 -
> strips unnecessary typeconv nodes (this helps a lot with constant
> propagation).
> - https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/342 -
> strips excess nothing nodes.
I didn't say that you shouldn't clean up the tree for your purity
analysis (that sounds so wrong :P ), I simply asked what you meant with
“share the same field” and if it is what I think it is then it's a bad
idea and you shouldn't “share the same field” but introduce your own.
Regards,
Sven
More information about the fpc-devel
mailing list