Jens Rieks <[EMAIL PROTECTED]> wrote: First a note: P3 is now cleared, if P15 is reached. So havin 11 args can be distinguished from having more then 11 arguments.
> Leo, is it easy to alias them as argc[ISPN]? Yes. It's the same as aliasing C<self> to P2. If we can agree on the variable names, this is done in a minute. if argcP > 2 goto more_then_2_Pargs looks quite good. And P3 := overflow_args ? P0 := the_sub ?? P1 := return_continuation ? S0 := method_name ? >> # retrieves a parameter by its number >> $P2 = .param($I1) > I vote for > getreg $P1, $I1 # put Px (x=I1) into $P1 This is all not really good. The register allocator can't track the usage of Px. > jens leo