[m-rev.] for review: --no-optimize-fulljumps
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon Jan 12 21:42:22 AEDT 2004
On 12-Jan-2004, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
>
> compiler/jumpopt.m:
> Fix an old though minor error: replace code sequences of the form
>
> if (<cond>)
> r1 = TRUE;
> else
> r1 = FALSE
>
> with
> r1 = <cond>;
>
> even with -no-optimize-fulljumps, which is implied by --opt-space,
> since the C compiler can generate smaller code for it than for the
> original code.
That looks fine.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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