[m-rev.] for review: don't opt-export table reset and statistics preds
Paul Bone
pbone at csse.unimelb.edu.au
Fri Aug 8 10:59:39 AEST 2008
On Fri, Aug 08, 2008 at 10:56:02AM +1000, Peter Wang wrote:
> Branches: main
>
> The bodies of table reset and statistics procedures generated by the
> compiler were being written to `.opt' files. However, those procedures
> need access to C variables which are local to their defining modules.
>
> compiler/add_pragma.m:
> Set the `may_not_duplicate' attribute on table reset and
> statistics procedures.
>
> compiler/intermod.m:
> Don't write foreign procedures to `.opt' files if they have the
> `may_not_duplicate' attribute.
Is may_not_duplicate documented in the language reference manual, along
with other options for foreign code?
This is not a review of your changes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20080808/1cae964f/attachment.sig>
More information about the reviews
mailing list