Leopold Toetsch wrote:
On Oct 1, 2005, at 8:46, <[EMAIL PROTECTED]> 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.
ah I thought so. just making sure. Then another question WRT this; will
there be a register allocator? In other words, an attempt to minimize
the number of needed registers? (in my simple code generator
implementations, any time I need a new register, I just increment a
counter, and use that, so in that case there is No register allocation
scheme)
regards,
klaas-jan