[m-rev.] for review: fix univs in .memprof grades
Peter Ross
peter.ross at miscrit.be
Thu Apr 5 21:07:10 AEST 2001
On Thu, Apr 05, 2001 at 05:54:07PM +1000, David Jeffery wrote:
>
> ===================================================================
>
> Estimated hours taken: 1
>
> 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.
>
Maybe you could use
#ifndef MR_PROC_LABEL
#define some_label
#define MR_INTRODUCED_LABEL
#endif
...
#ifdef MR_INTRODUCED_LABEL
#undef MR_PROC_LABEL
#endif
instead, however thinking up a suitable some_label may be a little
difficult.
--------------------------------------------------------------------------
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