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

Peter Ross pro at missioncriticalit.com
Tue Nov 18 08:06:13 AEDT 2003


On Mon, Nov 17, 2003 at 04:22:47PM +0100, Peter Ross wrote:
> Hi,
> 
> For fjh and zs to have a look at.
> 
> 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've compiled both hlc.gc and asm_fast.gc libraries with this code.  I
only had to make the expected changes to mercury_builtin_types.c for
hlc.gc, however for some reason in asm_fast.gc the type_ctor_info gets
output twice in builtin.c.  Needs further investigation.
--------------------------------------------------------------------------
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