[m-rev.] for review: extend mutual tail rec optimization to functions

Zoltan Somogyi zoltan.somogyi at runbox.com
Tue Sep 12 23:31:46 AEST 2017


For review by Julien, since this builds on a diff that he reviewed,
so he is in the best position to understand it quickly.

The attached file TSCC_PROC shows that stage2 of a bootcheck
contains 23 optimized mutually recursive functions, as well as
270 optimized mutually recursive predicates.

The approach implemented in this diff should work to optimize
mutual tail recursion in Java and C# as well as C. It is not yet
turned on for those languages, because I can't test it yet.

Another attached file contains the output of a --grade java bootcheck
that fails for a reason that seems to me to be completely unrelated
to this diff. Julien, if you could take a look at it and tell me what
you think is wrong, I would appreciate it. (The bootcheck was done
on the machine you gave me access to,)

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.func
Type: application/octet-stream
Size: 1998 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20170912/26d4135d/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.func
Type: application/octet-stream
Size: 53597 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20170912/26d4135d/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TSCC_PROC
Type: application/octet-stream
Size: 36705 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20170912/26d4135d/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JAVA_BOOTCHECK_FAIL
Type: application/octet-stream
Size: 635782 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20170912/26d4135d/attachment-0007.obj>


More information about the reviews mailing list