[fpc-pascal] Inline function parameters

Jonas Maebe jonas at freepascal.org
Sun Nov 7 08:17:38 CET 2021


On 07/11/2021 05:26, Ryan Joseph via fpc-pascal wrote:
> Is there anyway a function parameter could be inlined in FPC? This would go a long way in helping to parameterize functions that have tight loops in them.

It's theoretically possible through constant propagation.

> If there isn't I wonder if this is an area where the proposed "pure" function modifier could be used to make it possible.

That's completely unrelated.


Jonas


More information about the fpc-pascal mailing list