Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[COMMIT] PIR changes

9 views
Skip to first unread message

Melvin Smith

unread,
Oct 25, 2003, 12:17:29 AM10/25/03
to perl6-i...@perl.org
For those not on the cvs-commit list..

Added newsub and newclosure to PIR. Hides some implementation detail and
allows IMCC to take advantage of the newsub opcode which is much more
efficient than new/set_addr combination. This makes PIR orthogonal
between new and newsub.

Example:
PIR PASM
---------------------------------------------------------------
P0 = newsub <label> ::= newsub, P0, .Sub, <label>
P0 = newclosure <label> ::= newsub, P0, .Closure, <label>

This doesn't support all the variations, including continuations, the
rest will come shortly.

-Melvin


0 new messages