[m-rev.] for review: IL back-end: avoid byref tailcalls
Tyson Dowd
trd at cs.mu.OZ.AU
Fri Aug 3 22:11:26 AEST 2001
On 03-Aug-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> With this change, compiling with --verifiable-code reduces the number
> of tail calls that we generate in the Mercury standard library from 1481
> to 716 (a reduction of just over 50%).
>
> ----------
>
> Estimated hours taken: 1
> Branches: main
>
> compiler/mlds_to_il.m:
> If --verifiable-code is set, don't emit "tail." prefixes on tail
> calls with byref parameters, unless --il-byref-tailcalls is set.
> This is needed to make the generated code verifiable.
This looks fine, thanks Fergus.
Tyson.
--------------------------------------------------------------------------
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