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

Zoltan Somogyi zs at csse.unimelb.edu.au
Thu Jul 26 16:01:42 AEST 2007


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.

Zoltan.
--------------------------------------------------------------------------
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