Jeff Clites <[EMAIL PROTECTED]> wrote:

>       return_cc ==> alias for call_cc_indexed 0
>       tailcall  ==> alias for call_cc_indexed 1
>       call_cc_indexed 2 ==> invoke the continuation from 2 frames back, as
> though it had been passed down

Yep. I can imagine that that's avaiable as:

  $P0 = interpinfo .INTERPINFO_CALLCHAIN  # _TRACEBACK ?
  $P1 = $P0[2]
  cont = $P1."_current_continuation"()
  invoke cont

or some such. I don't think it needs opcode support, though.

> JEff

leo

Reply via email to