[m-dev.] for review: make tailcall loops an MLDS transformation
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Aug 24 15:16:09 AEST 2000
On 24-Aug-2000, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
>
> diff -u compiler/mercury_compile.m compiler/mercury_compile.m
> --- compiler/mercury_compile.m
> +++ compiler/mercury_compile.m
> - maybe_write_string(Verbose, "% Optimizing MLDS...\n"),
> - ml_optimize__optimize(MLDS30, MLDS40),
> - maybe_write_string(Verbose, "% done.\n"),
> + globals__io_lookup_bool_option(optimize, Optimize),
> + ( { Optimize = yes } ->
> + maybe_write_string(Verbose, "% Optimizing MLDS...\n"),
The user-level name for the `optimize' option is `--llds-optimize'.
If you want to use the same internal option for enabling/disabling MLDS
optimizations, that is OK, but if so you should allow `--mlds-optimize'
as a user-level name for the option.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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