[m-rev.] for review: warn about dead procedures
Julien Fischer
juliensf at students.cs.mu.OZ.AU
Tue Jul 22 18:03:58 AEST 2003
On Tue, 22 Jul 2003, Fergus Henderson wrote:
> compiler/magic.m:
> diff -u compiler/dead_proc_elim.m compiler/dead_proc_elim.m
> --- compiler/dead_proc_elim.m 16 Jul 2003 10:49:34 -0000
> +++ compiler/dead_proc_elim.m 22 Jul 2003 07:25:15 -0000
> @@ -593,8 +593,30 @@
> % must be kept.
> ( Status = local,
> Keep = no,
<snip>
> + WarnForThisProc = no
> + ;
> + % Don't warn for procedures introduced from
> + % lambda expressions. The only time those
> + % procedures will be unused is if the procedure
> + % containing the lambda expression is unused,
> + % and in that case, we already warn for that
> + % containing procedure if appropriate.
> + % Likewise, don't warn for procecures
s/procecures/procedures/
--------------------------------------------------------------------------
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