[fpc-pascal] Inline bytes

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Aug 9 17:09:57 CEST 2012

Rainer Stratmann wrote on Thu, 09 Aug 2012:

> To avoid disabling procedure/function inlining when the compiler finds an asm
> instruction it would be good to have at least the mentioned former
> inline( $AB, $CD , $EF , ... );
> back.
> Is that possible?

There are no plans to do so, and even if it were added it would be  
quite possible that this would also disable inlining the containing  
routine for implementation reasons.

> Macros have to defined for each unit again so this is not userfriendly if a
> programmer changes a macro.

A macro can be defined in a file that is included in all units, so  
then you only have to change it in one place.


More information about the fpc-pascal mailing list