[m-rev.] for post-commi review: unify erlang implementation of mutables

Zoltan Somogyi zoltan.somogyi at runbox.com
Fri Jan 30 00:06:39 AEDT 2015


For review by anyone. However, what is worth reviewing is not
so much this diff, as the contents of add_mutable_aux_preds.m
after its installation.

I also noticed that the code implementing mutables for the Erlang
backend assumed that trailing was not enabled. I checked, and I found
comments in the compiler that say that the Erlang backend does not
implement trailing, but I can find nothing in handle_options.m to generate
an error if users try to compile something with --grade erlang --use-trail.
Is this intentional? Peter, do you know?

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.mutables_erlang
Type: application/octet-stream
Size: 414 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20150130/22bf5c07/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.mutables_erlang
Type: application/octet-stream
Size: 46235 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20150130/22bf5c07/attachment-0001.obj>


More information about the reviews mailing list