[m-rev.] diff: construct__num_functors for IL backend

Fergus Henderson fjh at cs.mu.OZ.AU
Sun Dec 22 15:01:00 AEDT 2002


On 20-Dec-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> libray/rtti_implementation.m:
> 	Make type_info and type_ctor_info be synonyms for type_desc
> 	and type_ctor_desc, seeing that they are.

I really don't think that is a good idea.
In particular, type_ctor_info is NOT a synonym for type_ctor_desc.
See the comments in runtime/mercury_type_desc.h.

I'd also like to keep type_desc and type_info as separate types,
perhaps with conversion functions to convert from one to the
other and vice versa, so that the assumption that they are
represented the same only occurs in one place.

So could you please back out this part of your change?

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