projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
60f1b98
)
fix bug when jit_compile is entered recursively
author
edwin
<none@none>
Tue, 24 Feb 2004 13:28:08 +0000
(13:28 +0000)
committer
edwin
<none@none>
Tue, 24 Feb 2004 13:28:08 +0000
(13:28 +0000)
jit/jit.c
patch
|
blob
|
history
src/vm/jit/jit.c
patch
|
blob
|
history
diff --git
a/jit/jit.c
b/jit/jit.c
index 059624af00588a0cefbadac42e6459f2293683f4..12dd4bc1290f4290298ae39e791b52c8ee9c1ed3 100644
(file)
--- a/
jit/jit.c
+++ b/
jit/jit.c
@@
-29,7
+29,7
@@
Changes: Edwin Steiner
Changes: Edwin Steiner
- $Id: jit.c 9
09 2004-02-02 00:52:42Z twisti
$
+ $Id: jit.c 9
23 2004-02-24 13:28:08Z edwin
$
*/
*/
@@
-1458,8
+1458,6
@@
methodptr jit_compile(methodinfo *m)
intsDisable(); /* disable interrupts */
#endif
intsDisable(); /* disable interrupts */
#endif
- regs_ok = false;
-
/* mark start of dump memory area */
dumpsize = dump_size();
/* mark start of dump memory area */
dumpsize = dump_size();
@@
-1521,6
+1519,7
@@
methodptr jit_compile(methodinfo *m)
jcode = m->jcode;
exceptiontablelength = m->exceptiontablelength;
raw_extable = m->exceptiontable;
jcode = m->jcode;
exceptiontablelength = m->exceptiontablelength;
raw_extable = m->exceptiontable;
+ regs_ok = false;
#ifdef STATISTICS
count_tryblocks += exceptiontablelength;
#ifdef STATISTICS
count_tryblocks += exceptiontablelength;
diff --git
a/src/vm/jit/jit.c
b/src/vm/jit/jit.c
index 059624af00588a0cefbadac42e6459f2293683f4..12dd4bc1290f4290298ae39e791b52c8ee9c1ed3 100644
(file)
--- a/
src/vm/jit/jit.c
+++ b/
src/vm/jit/jit.c
@@
-29,7
+29,7
@@
Changes: Edwin Steiner
Changes: Edwin Steiner
- $Id: jit.c 9
09 2004-02-02 00:52:42Z twisti
$
+ $Id: jit.c 9
23 2004-02-24 13:28:08Z edwin
$
*/
*/
@@
-1458,8
+1458,6
@@
methodptr jit_compile(methodinfo *m)
intsDisable(); /* disable interrupts */
#endif
intsDisable(); /* disable interrupts */
#endif
- regs_ok = false;
-
/* mark start of dump memory area */
dumpsize = dump_size();
/* mark start of dump memory area */
dumpsize = dump_size();
@@
-1521,6
+1519,7
@@
methodptr jit_compile(methodinfo *m)
jcode = m->jcode;
exceptiontablelength = m->exceptiontablelength;
raw_extable = m->exceptiontable;
jcode = m->jcode;
exceptiontablelength = m->exceptiontablelength;
raw_extable = m->exceptiontable;
+ regs_ok = false;
#ifdef STATISTICS
count_tryblocks += exceptiontablelength;
#ifdef STATISTICS
count_tryblocks += exceptiontablelength;