Re: [PATCH] Updatecc fix

2004-01-14 Thread Leopold Toetsch
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

Re: [PATCH] Updatecc fix

2004-01-14 Thread Luke Palmer
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

Re: [PATCH] Updatecc fix

2004-01-14 Thread Leopold Toetsch
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.

[PATCH] Updatecc fix

2004-01-13 Thread Luke Palmer
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