Re: [PATCH] supplant op

2003-12-25 Thread Luke Palmer
Leopold Toetsch writes: > Luke Palmer <[EMAIL PROTECTED]> wrote: > > ... I think a Ref would > > work, but Ref delegates set_pmc to what it's referencing, so it's never > > possible to change the referent! Is it? > > Some time ago I proposed additional opcodes dealing with Ref PMCs. You > mentio

Re: [PATCH] supplant op

2003-12-25 Thread Leopold Toetsch
Luke Palmer <[EMAIL PROTECTED]> wrote: > ... I think a Ref would > work, but Ref delegates set_pmc to what it's referencing, so it's never > possible to change the referent! Is it? Some time ago I proposed additional opcodes dealing with Ref PMCs. You mention it, yep - they need "deref" and "set

Re: [PATCH] supplant op

2003-12-24 Thread Luke Palmer
Leopold Toetsch writes: > Luke Palmer <[EMAIL PROTECTED]> wrote: > > Here's that op that replaces the header of one PMC with another's, if > > people are interested. > > > +inline op supplant(in PMC, in PMC) { > > +*$1 = *$2; > > Brrr. I'm not willing to contemplate now on the nasty side effe

Re: [PATCH] supplant op

2003-12-24 Thread Leopold Toetsch
Luke Palmer <[EMAIL PROTECTED]> wrote: > Here's that op that replaces the header of one PMC with another's, if > people are interested. > +inline op supplant(in PMC, in PMC) { > +*$1 = *$2; Brrr. I'm not willing to contemplate now on the nasty side effects that might have, but what for are yo