Luke Palmer <[EMAIL PROTECTED]> wrote:
> In the spirit of getting real continuations working Just Right, this
> modifies IMCC's PCC implementation to emit the updatecc *after* the
> pushtop, so that the redundant pushtop isn't necessary when returning
> with a real continuation.

The PCC shortcuts in imcc only deal with normal Sub calls (Sub and
Closure, Coroutines should be ok too). Full Continuations currenty need
some hints by the programmer.

Do you have an example what do you want to achieve?

> I'm also thinking that updatecc should cow_copy_context, not
> save_context.  Right?

No, a RetContinuation is never changed, it has a copy of the
interpreters context, which is restored on sub return.

> Luke

leo

Reply via email to