From: Peter Molnar Date: Wed, 9 Jul 2008 17:55:50 +0000 (+0200) Subject: * src/vm/jit/jit.c (jit_compile_intern): Fixed error in preprocessor flags logic. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=f68a1b31a48a3049df8fd7b140ade536dc68729a;p=cacao.git * src/vm/jit/jit.c (jit_compile_intern): Fixed error in preprocessor flags logic. * src/vm/jit/replace.c (replace_me): Suppress printf. --- diff --git a/src/vm/jit/jit.c b/src/vm/jit/jit.c index b93f8dacc..971a9dd75 100644 --- a/src/vm/jit/jit.c +++ b/src/vm/jit/jit.c @@ -722,7 +722,7 @@ static u1 *jit_compile_intern(jitdata *jd) /* inlining */ -#if defined(ENABLE_INLINING) && !defined(ENABLE_ESCAPE) || 1 +#if defined(ENABLE_INLINING) && (!defined(ENABLE_ESCAPE) || 1) if (JITDATA_HAS_FLAG_INLINE(jd)) { if (!inline_inline(jd)) return NULL; diff --git a/src/vm/jit/replace.c b/src/vm/jit/replace.c index c08d48d1e..58f883c1a 100644 --- a/src/vm/jit/replace.c +++ b/src/vm/jit/replace.c @@ -2868,7 +2868,9 @@ static void replace_me(rplpoint *rp, executionstate_t *es) origcode = es->code; origrp = rp; +#if defined(ENABLE_TLH) printf("Replacing in %s/%s\n", rp->method->clazz->name->text, rp->method->name->text); +#endif /*if (strcmp(rp->method->clazz->name->text, "antlr/AlternativeElement") == 0 && strcmp(rp->method->name->text, "getAutoGenType") ==0) opt_TraceReplacement = 2; else opt_TraceReplacement = 0;*/