[m-dev.] for review: Accurate garbage collection.

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Jul 2 16:18:29 AEST 1998


On 02-Jul-1998, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> On 01-Jul-1998, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > Can you give a diff of that against the old mercury_deep_copy.c?
> 
> Of course.
> 
> --- mercury_deep_copy.c	Thu Jul  2 15:07:47 1998
> +++ mercury_deep_copy_body.h	Tue Jun 30 16:14:37 1998
...
> -** NOTE : changes to this function will probably also have to be reflected 
> -** in the function std_util::ML_expand() and mercury_table_any.c

Isn't that still true?
I think that comment should stay.

>  Word 
> -deep_copy(Word data, Word *type_info, Word *lower_limit, Word *upper_limit)
> +copy(Word *data_ptr, Word *type_info, Word *lower_limit,
> +		Word *upper_limit)

No need to wrap that line.

Apart from that, it looks fine.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list