[m-rev.] diff: Fix wrong symbol names which broke MR_LOWLEVEL_DEBUG.

Peter Wang novalazy at gmail.com
Tue Jun 17 15:31:30 AEST 2014


MR_OZONE_* was renamed to MR_OVERFLOW_ZONE_* during review
but a few instances remained.

runtime/mercury_overflow.c:
    	As above.

diff --git a/runtime/mercury_overflow.c b/runtime/mercury_overflow.c
index df0ca64..f65a5b9 100644
--- a/runtime/mercury_overflow.c
+++ b/runtime/mercury_overflow.c
@@ -57,19 +57,19 @@ MR_fatal_zone_error(MR_OverflowZone ptr_kind,
     fprintf(stderr, "fatal zone error\n%s: ", ptr_name);
     switch (ptr_kind) {
 
-        case MR_OZONE_DETSTACK:
+        case MR_OVERFLOW_ZONE_DETSTACK:
             MR_print_detstackptr(stderr, ptr);
             break;
 
-        case MR_OZONE_NONDETSTACK:
+        case MR_OVERFLOW_ZONE_NONDETSTACK:
             MR_print_nondetstackptr(stderr, ptr);
             break;
 
-        case MR_OZONE_HEAP:
+        case MR_OVERFLOW_ZONE_HEAP:
             MR_print_heapptr(stderr, ptr);
             break;
 
-        case MR_OZONE_OTHER:
+        case MR_OVERFLOW_ZONE_OTHER:
         default:
             fprintf(stderr, "%p", ptr);
             break;




More information about the reviews mailing list