[m-rev.] for review: reduce accesses to thread-specific variable

Julien Fischer juliensf at csse.unimelb.edu.au
Wed Jul 12 14:58:26 AEST 2006


On Wed, 12 Jul 2006, Peter Wang wrote:

> I'm not sure about this patch now.  In the "Compiling logic programs to C"
> paper it says (on page 9, about inter-function jumps):
>
>    The main precautions necessary to avoid trouble are (a) making sure
>    that none of the functions involved has any local variables [...]
>
> The change I'm making with this patch *is* introducing local variables.

Hmmm ... that could be a problem.  I wonder if it is possible to adapt
the --use-local-vars transformation (see use_local_vars.m and 
wrap_blocks.m) to this situtation.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at csse.unimelb.edu.au
administrative address: owner-mercury-reviews at csse.unimelb.edu.au
unsubscribe: Address: mercury-reviews-request at csse.unimelb.edu.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at csse.unimelb.edu.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list