Jonathan Sillito <[EMAIL PROTECTED]> wrote:
> this is just the "current continuation". In pasm this could be:

>     new P1, .Continuation
>     set_addr I3, returnhere
>     set P1, I3

>     invoke   # or invoke_method
>   returnhere:
>     # etc ...

> With a 'cc' variant the common case is simplified to be just:

>     invokecc   # or invokecc_method
>     # etc ...

> What do you think? Is it worth two more ops?

I see. Yes, this shorthand is fine, the more that it will be used
heavily. What about:

      invokecc the_sub_label

which would include constructing the subroutine object in P0 too?

> BTW does anyone (leo?, dan?) want to comment on my idea for getting rid of
> the register stacks etc:

We need them. Parrot calling conventions are not the only convention we
have. And for parrot calling conventions you have to save registers too.

> Jonathan Sillito

leo

Reply via email to