[fpc-pascal] Inline bytes
Rainer Stratmann
RainerStratmann at t-online.de
Thu Aug 9 16:58:00 CEST 2012
Am Thursday 09 August 2012 15:51:10 schrieb Jonas Maebe:
> The idea is to use the macro instead of a function call, not to use
> the macro inside a function that you then try to inline. A macro is
> just text substitution, it will never have a different effect than
> typing its contents directly at the place where the macro is used.
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?
Macros have to defined for each unit again so this is not userfriendly if a
programmer changes a macro.
More information about the fpc-pascal
mailing list