trivial diff: mercury_grade.h minor improvement

Fergus Henderson fjh at hydra.cs.mu.oz.au
Thu Oct 9 08:15:52 AEST 1997


runtime/mercury_grade.h:
	Only include _pic_reg in the full grade identifier if
	PIC_REG will actually make a difference, i.e. if
	USE_GCC_GLOBAL_REGISTERS and __i386__ are defined.

Index: mercury_grade.h
===================================================================
RCS file: /home/staff/zs/imp/mercury/runtime/mercury_grade.h,v
retrieving revision 1.2
diff -u -u -r1.2 mercury_grade.h
--- mercury_grade.h	1997/10/02 00:37:38	1.2
+++ mercury_grade.h	1997/10/08 22:12:34
@@ -118,7 +118,7 @@
   #define MR_GRADE_PART_9	_debug
 #endif
 
-#ifdef PIC_REG
+#if defined(PIC_REG) && defined(USE_GCC_GLOBAL_REGISTERS) && defined(__i386__)
   #define MR_GRADE_PART_10	_picreg
 #else
   #define MR_GRADE_PART_10

-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list