[m-rev.] for review: handle RTTI types specially in the il grade

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Jul 2 00:31:22 AEST 2002


On 01-Jul-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> 
> 
> The types which represent the RTTI don't have valid Mercury representations,
> hence the compiler is unable to generate correctly typed code to reference them
> using high level data on the IL backend.  Use the old lowlevel representation
> for these types instead.


That looks fine.

> +type_ctor_needs_lowlevel_rep(il, TypeName - _Arity) :-


Do we need to do the same for the Java back-end?
I suggest you add an XXX comment here, e.g.
 
        % XXX Do we need to do the same for the Java 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