Jonathan Sillito <[EMAIL PROTECTED]> wrote:

> 1. some adding and renaming in core.ops, which gives the following ops:
>    - call()
>    - call(in PMC)

Suboptimal. We will get a name clash in imcc. (Imcc has call as an alias
for bsr)

> 2. adds pmc access macros to register.h (as suggested by Mitchell).

Thats fine.

> 3. updates tests, examples and documentation to use call instead of invoke.
> still to do:
>    - update language/imcc to use call instead of invoke??

This - if ever - can only be done in one big change in parrot and imcc.

But I don't know, why we actually should s/invoke/call/.  bsr/call is
similar to a hardware CPU subroutine call, so I think, it should remain
call (in imcc). invoke is a higher level construct and therfore deserves
its special name.

>    - add callcc and callcc_method - patch coming soon

Why do we need another 2 ops? invoke on the appropriate class should be
enough.

leo

Reply via email to