[m-rev.] trivial diff: fix compilation of runtime in .tr grades

Julien Fischer juliensf at cs.mu.OZ.AU
Wed Sep 14 17:00:19 AEST 2005


Estimated hours taken: 0.1
Branches: main

runtime/mercury_context.c:
	Fix compilation of the runtime in .tr grades.  Zoltan's recent change
	to add the .exts grade changed the names of some fields, but the
	names weren't updated everywhere.

Julien.

Index: mercury_context.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_context.c,v
retrieving revision 1.41
diff -u -r1.41 mercury_context.c
--- mercury_context.c	13 Sep 2005 08:25:37 -0000	1.41
+++ mercury_context.c	14 Sep 2005 06:53:56 -0000
@@ -190,7 +190,8 @@
             MR_trail_size, MR_next_offset(),
             MR_trail_zone_size, MR_default_handler);
     }
-    c->MR_ctxt_trail_ptr = (MR_TrailEntry *) c->MR_ctxt_trail_zone->min;
+    c->MR_ctxt_trail_ptr =
+        (MR_TrailEntry *) c->MR_ctxt_trail_zone->MR_zone_min;
     c->MR_ctxt_ticket_counter = 1;
     c->MR_ctxt_ticket_high_water = 1;
 #endif

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