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


_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to