Hi, On Monday 22 March 2004 13:54, Leopold Toetsch wrote: > 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 ? Sounds okay. Maybe its better to either alias return_continuation to the register where P1 has been saved to? Or add another alias for it?
> >> # 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. That is a strong argument. "setp_ind" on the other hand is also not tracked. getp_ind might by a reasonable tradeoff. > leo jens