Kenneth A Graves <[EMAIL PROTECTED]> wrote:

> Inside the iterator, there are three differences compared to a function:
> 1) Every register in use needs to be saved to the user stack.  (Anyone
> have a clean way to do this?)

Its the same thing as calling a subroutine in the first place. Imcc has
to figure out, which registers are used (and which are persistent over
the function call). With this info the register allocation as well as
the necessary register save/restore opcodes can be optimized.

When this is done, the same logic applies to the .pcc_*_yield block.

> --kag

leo

Reply via email to