[m-rev.] diff: avoid redundant declaration code

Julien Fischer juliensf at cs.mu.OZ.AU
Fri Oct 14 13:43:19 AEST 2005


On Fri, 14 Oct 2005, Zoltan Somogyi wrote:

> compiler/llds_out.m:
> 	Don't print out any given piece of foreign declaration code more than
> 	once. With intermodule inlining, the redundant foreign_import_modules
> 	the front end generates lead to the .mh files of library modules being
> 	printed literally dozens of times.
>
> 	It would be nice to avoid redundant foreign_import_modules in the first
> 	place, but that is harder to do.
>
I'll take a look at doing that, since it would also reduce the size of
the .opt files.

Cheers,
Julien.
--------------------------------------------------------------------------
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