* The stack frame caching is back, hopefully now implemented correctly:
1) when a return continuation is invoked the stack frame is recycled
2) when a continuation is created, all the return continuations up the
call chain are converted to real continuations by changing the
vtable. This prevents 1) from happening.
3) cloning a return continuation yields a true continuation* When you need the return continuation of the current call (and reuse it later) use this sequence:
.include "interpinfo.pasm" $P1 = interpinfo .INTERPINFO_CURRENT_CONT $P1 = clone $P1
I'm still inclined to make this sequence an opcode, though. The cloning is still necessary, as the return continuation is returned.
This might still change, so best is probably to hide this sequence behind a macro.
leo
