[m-rev.] diff: Fix the broken asm_fast.gc.par grades.

Paul Bone pbone at csse.unimelb.edu.au
Fri Jun 22 19:31:05 AEST 2012


This patch corrects a bug in my previous commit.

runtime/mercury_wrapper.c:
    Use the correct macro to guard the use of a threadscope specific value.

Index: runtime/mercury_wrapper.c
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/runtime/mercury_wrapper.c,v
retrieving revision 1.230
diff -u -r1.230 mercury_wrapper.c
--- runtime/mercury_wrapper.c	20 Jun 2012 13:13:34 -0000	1.230
+++ runtime/mercury_wrapper.c	22 Jun 2012 09:14:38 -0000
@@ -1869,7 +1869,7 @@
                 break;
 
             case MR_THREADSCOPE_USE_TSC:
-#ifdef MR_THREAD_SAFE
+#ifdef MR_THREADSCOPE
                 MR_threadscope_use_tsc = MR_TRUE;
 #endif
                 break;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20120622/6fcae59b/attachment.sig>


More information about the reviews mailing list