[m-rev.] for review: fix univs in .memprof grades

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Apr 5 18:24:19 AEST 2001


On 05-Apr-2001, David Jeffery <dgj at cs.mu.OZ.AU> wrote:
> 
> Fix a bug that was stopping us bootstrapping in .memprof grades.
> This bug was checked in with my changes to merge the HAL and main
> branches.
> 
> runtime/mercury_type_info.h:
> 	When allocating a univ with MR_new_univ_on_hp(), allocate the
> 	storate required with MR_tag_incr_hp rather than MR_tag_incr_hp_msg
> 	seeing that we don't necessarily have a handle on the current
> 	proc label.
> 
> 	Also fix some whitespace errors.

That looks fine (at least for now -- in the long term it would be nice
if memory profiling recorded such allocations).

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