Author: bernhard
Date: Thu May  4 14:49:14 2006
New Revision: 12504

Removed:
   trunk/compilers/imcc/jit.c
Modified:
   trunk/MANIFEST
   trunk/compilers/imcc/pbc.c
   trunk/config/gen/makefiles/root.in

Log:
#39066: [TODO] Get rid of compilers/imcc/jit.c
Removed that file.


Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST      (original)
+++ trunk/MANIFEST      Thu May  4 14:49:14 2006
@@ -52,7 +52,6 @@
 compilers/imcc/imcparser.h                        []
 compilers/imcc/instructions.c                     []
 compilers/imcc/instructions.h                     []
-compilers/imcc/jit.c                              []
 compilers/imcc/main.c                             []
 compilers/imcc/optimizer.c                        []
 compilers/imcc/optimizer.h                        []

Modified: trunk/compilers/imcc/pbc.c
==============================================================================
--- trunk/compilers/imcc/pbc.c  (original)
+++ trunk/compilers/imcc/pbc.c  Thu May  4 14:49:14 2006
@@ -189,7 +189,7 @@
 
 /* allocate a new globals.cs->subs structure */
 static void
-make_new_sub(Interp *interpreter, IMC_Unit * unit)
+make_new_sub(IMC_Unit * unit)
 {
     struct subs *s = mem_sys_allocate_zeroed(sizeof(struct subs));
 
@@ -203,13 +203,6 @@
         globals.cs->first = s;
     globals.cs->subs = s;
     create_symhash(&s->fixup);
-#ifdef HAS_JIT
-    if ((IMCC_INFO(interpreter)->optimizer_level & OPT_J)) {
-        allocate_jit(interpreter, unit);
-    }
-#else
-    UNUSED(interpreter);
-#endif
 }
 
 
@@ -1020,9 +1013,10 @@
 e_pbc_new_sub(Interp *interpreter, void *param, IMC_Unit * unit)
 {
     UNUSED(param);
+    UNUSED(interpreter);
     if (!unit->instructions)
         return 0;
-    make_new_sub(interpreter, unit);     /* we start a new compilation unit */
+    make_new_sub(unit);     /* we start a new compilation unit */
     return 0;
 }
 

Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in  (original)
+++ trunk/config/gen/makefiles/root.in  Thu May  4 14:49:14 2006
@@ -354,7 +354,6 @@
     $(IMCC_DIR)/optimizer$(O) \
     $(IMCC_DIR)/pbc$(O) \
     $(IMCC_DIR)/parser_util$(O) \
-    $(IMCC_DIR)/jit$(O) \
     $(IMCC_DIR)/pcc$(O)
 
 AST_H_FILES = \

Reply via email to