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

Re: Variable registers

Thread Previous | Thread Next
From:
Leopold Toetsch
Date:
October 1, 2005 02:59
Subject:
Re: Variable registers
Message ID:
b52ffd80626ed7a4b5f7641794546490@toetsch.at

On Oct 1, 2005, at 8:46, <vanderlay@home.nl> 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

leo


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About