[kaffe] More mipsel jit3

Casey Marshall rsdio at metastatic.org
Tue Mar 9 12:26:02 PST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Casey" == Casey Marshall <rsdio at metastatic.org> writes:

Success!

Casey> So either (1) the call to push_int preceding this is bogus, or
Casey> (2) that call needs to be followed by a popargs, but isn't.

The problem stemmed from exception throwing: popargs_internal will not
call popargs if the method does not return (and popargs_noreturn,
called from soft_athrow, is #defined as popargs_internal(0)), but in
the mips backend popargs *must* be called, even if a noreturn is
reached.

The fix is probably to make the backend not depend on this behavior,
but the work-around is simple: for mips ensure that popargs_internal
ALWAYS calls popargs.

The good news: mipsel jit3 can load and run `hello world'. I don't
know how usable it is `for real', but will report on that later.

Cheers,

- -- 
Casey Marshall || rsdio at metastatic.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQFATigPgAuWMgRGsWsRArQ3AJ9sMGmm+kl/wvLbQcPPKaEzVxBrtgCfcqS+
FJwli3vjMazVFSuQV4HSvIw=
=fksx
-----END PGP SIGNATURE-----




More information about the kaffe mailing list