[cmucl-imp] Frame size for local calls

Raymond Toy toy.raymond at gmail.com
Sat Jan 8 16:52:06 CET 2011


On 1/4/11 9:09 AM, Helmut Eller wrote:
> The comment for the ALLOCATE-FRAME vop reads:
>
>   This is emitted directly before either a known-call-local, call-local,
>   or a multiple-call-local.  All it does is allocate stack space for the
>   callee (who has the same size stack as us).
>
> Does that mean that all local calls in a component use the same frame
> size?  Isn't that wasteful?
Yes, I guess it is wasteful.  It looks like 8 words are always
allocated.   I think the stack frame needs at least 3 words anyway.

I'll have to read through the internals document to figure this out.

Sorry for the delay,

Ray



More information about the cmucl-imp mailing list