[m-rev.] for prelim review: remove hand-coded RTTI

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Nov 18 13:03:15 AEDT 2003

On 17-Nov-2003, Peter Ross <pro at missioncriticalit.com> wrote:
> With the change below I can now build the standard library in the il
> grade and no longer require hand-coded RTTI for int.
> So far all I have done is satisfy myself that it works for int, however
> I would like some confirmation that there is nothing fundamentally wrong
> with this approach, plus any suggestions on how the approach could be
> improved.

I think the approach looks OK.

Does the compiler inline builtin_compare_int into the definition of the
new automatically-generated comparison procedure for int?
That's pretty important.

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