[m-rev.] for review: reporting stats NOT to stderr

Zoltan Somogyi zoltan.somogyi at runbox.com
Sun Mar 7 15:53:25 AEDT 2021


We need the capability to print stats to a user-selected stream,
and not just to stderr, if we are to convert the rest of the compiler
to always use explicit streams.

This diff makes the change only for the C backend. Would anyone
volunteer to make the change to for the C# and Java backends?

For review by anyone. Note that this diff is from before replacing
any ML_ prefixes with MR_ prefixes on code moved from the library
to the runtime, to reduce clutter in any manual diffs.

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.rss
Type: application/rss+xml
Size: 3241 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20210307/478befcf/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.rss
Type: application/rss+xml
Size: 49264 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20210307/478befcf/attachment-0003.bin>


More information about the reviews mailing list