[m-rev.] diff: disable closure layouts for non-C targets

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Mar 7 19:00:43 AEDT 2002


On 06-Mar-2002, Peter Ross <peter.ross at miscrit.be> wrote:
> Well it certainly helped me.  Here is a diff which bootchecks in the
> hlc.gc grade and passes all the tests.  It also solves the problems the
> IL backend experienced.
> 
> Any objections to checking this in?

No, please go ahead and check it in.

> compiler/ml_closure_gen.m:
>     A tvar_vector is an array of ints, not a pointer to an int, so use
>     that for the type of vector.  Without this change closure layouts do
>     not compile on the IL back-end as a pointer to an int is not the
>     same thing as an array of ints, as it is on the C back-end.

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