[m-rev.] for review: initialise foreign_proc dummy input args to zero

Julien Fischer juliensf at csse.unimelb.edu.au
Thu Jul 26 16:10:37 AEST 2007


On Thu, 26 Jul 2007, Zoltan Somogyi wrote:

> On 26-Jul-2007, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
>> compiler/llds_out.m:
>> 	Initialise the variables that correspond to foreign_proc
>> 	dummy input arguments to zero.
>
> You probably want to make an exception for some dummy types known to the
> compiler, e.g. io.state. The whole point of not generating code for
> initializing dummy input args was to optimize away all the assignments
> to IO0.
>
> Otherwise, the diff is fine.

I have changed the diff to omit the assignments in the cases where
the arguments are one of the builtin dummy types.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list