[m-rev.] for review: deleting code_exprn

Nancy Mazur Nancy.Mazur at cs.kuleuven.ac.be
Mon Oct 14 22:52:22 AEST 2002


* Fergus Henderson <fjh at cs.mu.OZ.AU> [2002-10-14 11:37]:
> On 14-Oct-2002, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> > 
> > Delete the old, lazy LLDS code generator, since we won't be maintaining it
> > anymore. Its deletion speeds up the compiler by 0.2% when using the LLDS
> > back end.
> ...
> > compiler/exprn_aux.m:
> > 	Since var_locn requires static ground terms and it is now the only
> > 	LLDS code generator, assume static ground terms are always set.
> 
> Ah, now I remember which features of the lazy LLDS code generator are not
> supported in the new LLDS code generator:
> 	(1) --no-static-ground-terms
> 	(2) the `jump' and `fast' grades.
> 
> Do we really want to get rid of those?
> 
> Note that (1) is currently needed for structure reuse,
> e.g. the tests in tests/general/structure_reuse.

It is not necessarily needed for structure reuse in general, but it is
needed for our small tests. In our small examples, the structure we plan
to reuse is usually hard-coded in the source file, therefore compiled as
static, and by definition not reusable. In order to avoid this, the
easiest solution was to use the option "--no-static-ground-terms". It
would be handy if it kept on existing, but it's not mandatory of course. 

Ciao ciao, 
Nancy
--------------------------------------------------------------------------
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