[m-rev.] for review: int mutables on c#/java

Julien Fischer juliensf at csse.unimelb.edu.au
Wed Oct 27 16:52:06 AEDT 2010


On Wed, 27 Oct 2010, Peter Wang wrote:

> Branches: main
>
> Special case `int' mutables in C# and Java grades.
> All mutables were represented with the generic `object' type, but that means
> integer values require boxing/unboxing.  Since integer mutables are used to
> hold counters in the source-to-source debugger (among other applications),
> it is best to avoid boxing.
>
> compiler/make_hlds_passes.m:
> compiler/ml_foreign_proc_gen.m:
> compiler/prog_io_mutable.m:
>        As above.
>
> compiler/prog_mutable.m:
>        Update description of the mutable transformation.

That looks 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