Kaffe for BeOS R4 -- partial JIT-mode

alanlb at access.rrinc.com alanlb at access.rrinc.com
Wed Dec 30 20:31:23 PST 1998


The "config/i386/beos/jit-md.h" I submitted earlier as part of the archive
"cfg.tgz" caused compilation errors when Kaffe is configured for JIT mode.
The attached file will produce a JVM that will at least pass the tests
that don't require exception handling, minus the tests that the
interpreter-mode JVM fails already.

To build the JIT-enabled Kaffe, please comment out the line

	with_engine=intrp

in config/i386/beos/config.frag.

/alan
-------------- next part --------------
/*
 * i386/beos/jit-md.h
 * BeOS i386 JIT configuration information.
 *
 * Copyright (c) 1996, 1997
 *	Transvirtual Technologies, Inc.  All rights reserved.
 *
 * See the file "license.terms" for information on usage and redistribution 
 * of this file. 
 */

#ifndef __i386_beos_jit_md_h
#define __i386_beos_jit_md_h

/**/
/* Include common information. */
/**/
#include "i386/jit.h"

/**/
/* Extra exception handling information. */
/**/

/*
 * No signal handler support yet!!
 */
#define	EXCEPTIONPROTO							\
	int sig

#define	EXCEPTIONFRAME(f, c)						\
	(f).retbp = 0;							\
	(f).retpc = 0

#endif


More information about the kaffe mailing list