On Feb 18, 2006, at 21:47, Bob Rogers wrote:
If I hear no objections to flushing "multiple get_params" (nor
exhortations to generalize "using up" the args), I will commit the
patch
as-is.
Multiple get_params don't work with tailcalls as the caller's frame
(with the args inside) is reused by the tailcalled sub (more precisely:
the get_param of a tailcall frees the callers's frame). Therefore this
patch is ok.
That is we have to mandate that there is exactly one get_params as the
first opcode of a sub (currently no get_params is issued for void subs,
but that will change to enable param count checks for that case too).
leo