[m-rev.] for review: don't opt-export table reset and statistics preds
Julien Fischer
juliensf at csse.unimelb.edu.au
Fri Aug 8 14:34:17 AEST 2008
On Fri, 8 Aug 2008, 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.
>
> tests/tabling/Mercury.options:
> tests/tabling/Mmakefile:
> tests/tabling/reset_stats_intermod.exp:
> tests/tabling/reset_stats_intermod.m:
> tests/tabling/reset_stats_intermod_2.m:
> Add test case.
That's fine.
Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list