Re: SS

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete Lomax wrote:
> 
> Matt Lewis wrote:
> > The basic idea is that you declare pbr in the routine declaration.  
> > Whenever the routine is called, the interpreter checks to see if the
> > pbr parameter is a normal var (no temps, literals, constants or loop vars).
> > If it is, then it remembers where it came from.
> I see. Any thoughts on what you could do in the front end for update(a[i])?
> As you said, the back-end will only get to see a tmp, the front end would
> need to emit an additional a[i]=tmp, perhaps.

Yeah, something like that.  I'm not sure on the details.  It'll involve
some extra front end and backend work, though.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu