runtime bugfix

Thomas Charles CONWAY conway at cs.mu.OZ.AU
Wed Jun 10 09:49:02 AEST 1998


Hi

The following patch fixes a problem which meant that on linux,
the configure script decided to make the default grade asm_jump.gc.

-- 
Thomas Conway <conway at cs.mu.oz.au>
Nail here [] for new monitor.  )O+

cvs diff: Diffing .
Index: mercury_engine.h
===================================================================
RCS file: /home/staff/zs/imp/mercury/runtime/mercury_engine.h,v
retrieving revision 1.3
diff -u -r1.3 mercury_engine.h
--- mercury_engine.h	1998/06/09 02:07:55	1.3
+++ mercury_engine.h	1998/06/09 23:11:04
@@ -13,12 +13,18 @@
 #ifndef	MERCURY_ENGINE_H
 #define	MERCURY_ENGINE_H
 
+	/*
+	** include mercury_regs.h first so that we don't have
+	** any function prototypes before the global register
+	** declarations.
+	*/
+#include "mercury_regs.h"		/* for NUM_REAL_REGS */
+
 #include <setjmp.h>
 
 #include "mercury_std.h"		/* for `bool' */
 #include "mercury_types.h"		/* for `Code *' */
 #include "mercury_goto.h"		/* for `Define_entry()' */
-#include "mercury_regs.h"		/* for NUM_REAL_REGS */
 #include "mercury_thread.h"		/* for pthread types */
 #include "mercury_context.h"		/* for MR_IF_USE_TRAIL */
 
cvs diff: Diffing machdeps



More information about the developers mailing list