[m-dev.] for review: implement copying of closures
Tyson Dowd
trd at cs.mu.OZ.AU
Tue Oct 19 14:11:47 AEST 1999
On 19-Oct-1999, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> For review by Zoltan and/or Tyson.
>
> ----------
>
> Estimated hours taken: 3
>
> Implement deep_copy() of closures.
>
> compiler/stack_layout.m:
> Change the way we generate closure layouts
> so that it matches the MR_Closure_Layout structure
> defined in runtime/mercury_ho_call.h.
>
> runtime/mercury_deep_copy_body.h:
> Handle copying of closures, using the layout information
> in the MR_Closure_Layout structure.
>
> runtime/mercury_deep_copy.c:
> #include "mercury_ho_call.h", since it is needed for the
> MR_Closure_Layout type.
>
> tests/hard_coded/Mmakefile:
> tests/hard_coded/copy_pred.m:
> tests/hard_coded/copy_pred.exp:
> A test case for this change.
This change is fine, thanks.
Tyson.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list