develooper Front page | perl.perl6.internals | Postings from October 2005

Re: Variable registers

Thread Previous | Thread Next
Leopold Toetsch
October 1, 2005 02:59
Re: Variable registers
Message ID:

On Oct 1, 2005, at 8:46, <> wrote:

> hi,
> I read that with the new calling conventions, there are a variable 
> number of registers. So, if I understand correctly, if a function call 
> takes 2 parameters, then there are only 2, and if there are 30 
> parameters, there will be a frame holding 30 registers. Is this about 
> right?

Yes. The argument passing opcodes take a variable amount of registers

> How does this stand WRT the 32 registers in Parrot. Is this still the 
> case, or will this change as well?

This will change. Register frame size and thus the amount of registers 
will be adapted to the actual usage of a subroutine.

> thanks,
> klaas-jan


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About