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




Reply via email to