[m-rev.] for review: IL back-end: use value types for environments

Fergus Henderson fjh at cs.mu.OZ.AU
Sat Jul 14 18:53:58 AEST 2001


On 14-Jul-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> 
> For the IL back-end, use value types rather than class types
> for the environment structures used for nondeterministic code.

This doesn't work, because you can't use `refany' types as fields of structures.

We had the same problem with ordinary managed reference types, and worked around
that by putting a value rather than a reference in the environment struct,
and using copy-in copy-out.

But that work-around won't help here, since there's no generic type we can use
for the value.

:-(

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list