[m-rev.] diff: fix compilation error in runtime in .tr grades
Julien Fischer
juliensf at csse.unimelb.edu.au
Fri Sep 26 10:25:42 AEST 2008
Estimated hours taken: 0.1
Branches: main
runtime/mercury_trail.c:
Fix a bug that prevented the runtime from compiling in .tr grades.
Julien.
Index: runtime/mercury_trail.c
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/runtime/mercury_trail.c,v
retrieving revision 1.18
diff -u -r1.18 mercury_trail.c
--- runtime/mercury_trail.c 25 Sep 2008 08:24:15 -0000 1.18
+++ runtime/mercury_trail.c 26 Sep 2008 00:17:46 -0000
@@ -45,10 +45,8 @@
MR_untrail_to(MR_TrailEntry *old_trail_ptr, MR_untrail_reason reason)
{
MR_TrailEntry *tr_ptr;
-
-#if defined(MR_TRAIL_SEGMENTS)
MR_TrailEntry *tr_base;
-#endif
+
/* Not needed, since MR_trail_ptr is never a real reg: */
/* MR_restore_transient_registers(); */
tr_ptr = MR_trail_ptr;
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list