Changes: Edwin Steiner
- $Id: jit.c 1829 2004-12-29 13:24:01Z twisti $
+ $Id: jit.c 1833 2004-12-29 14:18:38Z twisti $
*/
functionptr jit_compile(methodinfo *m)
{
- static bool jitrunning;
- functionptr r;
- s4 dumpsize;
- codegendata *cd;
- registerdata *rd;
- loopdata *ld;
+ functionptr r;
+ codegendata *cd;
+ registerdata *rd;
+ loopdata *ld;
t_inlining_globals *id;
+ s4 dumpsize;
if (m->flags & ACC_NATIVE) {
return m->entrypoint; /* return empty method */
}
-#if 0
- if (jitrunning) {
- printf("JITRUNNING!!! new method=");
- utf_display_classname(m->class->name);printf(".");utf_display(m->name);
- printf("\n");
- }
-
- /* now the jit is running */
-
- jitrunning = true;
-#endif
-
/* measure time */
if (getcompilingtime)
if (getcompilingtime)
compilingtime_stop();
- jitrunning = false;
-
- /* define in options.h; Used in main.c, jit.c & inline.c */
- #ifdef INAFTERMAIN
+ /* define in options.h; Used in main.c, jit.c & inline.c */
+#ifdef INAFTERMAIN
if ((utf_new_char("main") == m->name) && (useinliningm))
- useinlining = false;
- #endif
+ useinlining = false;
+#endif
#if defined(USE_THREADS)
/* leave the monitor */