[m-dev.] for review: --dead-code

Zoltan Somogyi zs at cs.mu.OZ.AU
Mon Jul 24 11:12:52 AEST 2000


On 23-Jul-2000, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> Well, I had a look through a thesaurus or two, but I didn't find
> anything that sounded better.  So unless anyone else can suggest
> anything, it's up to you.

I will use --optimize-unneeded-code.

> You can only find out either (a) which
> variables will _definitely_ have been further instantiated or (b)
> which variables _might_ have been further instantiated.  For (b),
> `inst_matches_binding' is the right procedure to use.  For (a), I
> don't think there is any existing procedure which does exactly the
> right thing.  Probably you want (b).
> 
> So I think the code is fine, it's just that the documentation
> was misleading.

Yes, I wanted (b).

Zoltan.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list