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
Leopold Toetsch writes:
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
Luke Palmer [EMAIL PROTECTED] wrote:
Leopold Toetsch writes:
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?
Yep.
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.
I'm also thinking that updatecc should cow_copy_context, not