Minor patch

Pavel Roskin pavel_roskin at geocities.com
Fri Dec 11 10:02:23 PST 1998


Hello!

Minor patch is attached. (Another one, promised in my previous message is
not needed)
Without this patch it is impossible to compile Kaffe with jit and without
-DDEBUG

Pavel Roskin

-------------- next part --------------
Index: kaffe/kaffevm/jit/machine.c
===================================================================
RCS file: /home/cvspublic/kaffe/kaffe/kaffevm/jit/machine.c,v
retrieving revision 1.13
diff -u -r1.13 machine.c
--- machine.c	1998/12/11 06:37:07	1.13
+++ machine.c	1998/12/11 19:01:32
@@ -226,12 +226,14 @@
 	}
 
 	/* start modifying global variables now */
+#ifdef DEBUG
 	if (jitting) {
 	    extern void dumpThreads(void);
 	    extern void dumpLocks(void);
 	    dumpThreads();
 	    dumpLocks();
 	}
+#endif
 	assert(jitting == 0 || !!!"reentered jitter");	/* DEBUG */
 	jitting = meth;					/* DEBUG */
 


More information about the kaffe mailing list