trivial diff: bug fix in runtime/mercury_engine.h

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Nov 9 22:02:12 AEDT 1998


This shows why everyone working on the compiler needs to read the cvs log
messages.

--------------------

runtime/mercury_engine.h:
	Fix a bug that conway introduced a while ago:
		s/#ifdef SPEED/#ifndef MR_LOWLEVEL_DEBUG/
	This bug was basically caused by a cvs conflict,
	plus of course C's lack of static checking for #ifdefs.

Index: runtime/mercury_engine.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_engine.h,v
retrieving revision 1.10
diff -u -r1.10 mercury_engine.h
--- mercury_engine.h	1998/08/24 08:24:41	1.10
+++ mercury_engine.h	1998/11/09 10:56:27
@@ -221,7 +221,7 @@
 	MemoryZone	*debug_heap_zone;
   #endif
 #endif
-#ifndef	SPEED
+#ifdef	MR_LOWLEVEL_DEBUG
 	MemoryZone	*dumpstack_zone;
 	int		dumpindex;
 #endif

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "Binaries may die
WWW: <http://www.cs.mu.oz.au/~fjh>  |   but source code lives forever"
PGP: finger fjh at 128.250.37.3        |     -- leaked Microsoft memo.



More information about the developers mailing list