[m-dev.] trivial diff: add MR_free_heap

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Aug 3 19:24:53 AEST 1998


On 03-Aug-1998, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> Estimated hours taken: 0.1
> 
> runtime/mercury_heap.h
> 	Added a macro MR_free_heap() which calls GC_free() if CONSERVATIVE_GC
> 	is defined, and does nothing otherwise.

You should call GC_FREE() rather than GC_free().

(Same goes for the call to GC_free() in runtime/mercury_tabling.h.)

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