[fpc-devel] Local procedures as procedural parameter
Jonas Maebe
jonas at zeus.ugent.be
Thu Mar 17 09:45:02 CET 2005
On 17 mrt 2005, at 00:06, Olle Raab wrote:
>> But the framepointer parameter must then be the last. That will make
>> macpas local procedures incompatible with the current code where it
>> is
>> passed as the first parameter.
>
> Couldn't the framepointer be last parameter in all modes ?
That would still require some ugly hacks inside the parameter passing
code, because of the fact that on x86 the callee removes the parameters
from the stack and not the caller (so you'd still need a check
comparing that framepointer wil nil and not "pushing" it if it is nil).
Jonas
More information about the fpc-devel
mailing list