[m-rev.] trivial diff: fix library compile error in non-GC grades

Fergus Henderson fjh at cs.mu.OZ.AU
Sat Jun 23 15:02:27 AEST 2001


Branches: main
Estimated hours taken: 0.5

library/benchmarking.m:
	Fix a bug introduced in Zoltan's changes to add deep profiling:
	s/heap_zone/MR_eng_heap_zone/

Workspace: /home/mars/fjh/ws1/mercury
Index: library/benchmarking.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/benchmarking.m,v
retrieving revision 1.41
diff -u -d -r1.41 benchmarking.m
--- library/benchmarking.m	2001/05/31 06:00:03	1.41
+++ library/benchmarking.m	2001/06/23 04:55:11
@@ -219,7 +219,7 @@
 #else
 	fprintf(stderr, 
 		""\\nHeap: %.3fk"",
-		((char *) MR_hp - (char *) eng->heap_zone->min) / 1024.0
+		((char *) MR_hp - (char *) eng->MR_eng_heap_zone->min) / 1024.0
 	);
 #endif
 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  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