From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Thu Dec 10 1998 - 20:14:55 EST
On Dec 10, 1998, Godmar Back <gback@cs.utah.edu> wrote:
> I think the problem is now that we reenter the jitter, and clobber
> maxStack and maxLocal, which are global.
I think I've found a simple fix for all these global variables
problems: we could define a struct containing all those former
globals, and a single global pointer to such a struct. translate and
Kaffe_JNI_Wrapper would save the previous value of the pointer and
make it point to an automatic variable, and restore the original
value when translation finished. We could then provide #defines so
that the original names would keep working.
I won't have time to work on this till Monday, though :-(
-- Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org} oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org} Universidade Estadual de Campinas, SP, Brasil
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:11 EDT