[m-rev.] for review: disable equiv_type special pred and type_ctor_info generation for il backend

Fergus Henderson fjh at cs.mu.OZ.AU
Sun Nov 10 19:22:01 AEDT 2002


On 09-Nov-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> fjh wrote:
> 
> > On 09-Nov-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> > > +  % Equivalence types are fully expanded on the IL and Java
> > > +  % backends, so the special predicates aren't required.
> > > + { ( Target = il ; Target = java),
> >
> > This test occurs twice in your diff.  It should be abstracted out into
> > a single predicate rather than being duplicated.
>
> Which module should this test go in?  I was thinking code_util, do you
> agree?

I think it should code in hlds_code_util.
(So should much of the code currently in code_util...)

The reason to avoid putting it in code_util is that
code_util is part of the LLDS back-end, which should
not be referred to from the front-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