[m-rev.] diff: fix hlc.agc closure_arg bug
Peter Ross
pro at missioncriticalit.com
Thu Nov 13 21:21:25 AEDT 2003
On Thu, Nov 13, 2003 at 09:14:32PM +1100, Fergus Henderson wrote:
> Estimated hours taken: 2
> Branches: main
>
> Fix a bug that broke bootstrapping in grade hlc.agc.
>
> compiler/ml_closure_gen.m:
> Ensure that we generatine GC tracing code for the closure_arg
> parameter. This is needed because it gets referenced by the
> GC tracing code for other local variables in this function.
> Without this, if two GCs occur between when a closure is
> called and when it returns, then the first GC will collect
> the closure, and then the second GC will try to dereference
> the closure_arg parameter.
>
s/generatine/generating/
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list