* changeset 304a22cd3bae accidently put all changes from the jitcache-arm-x86 to...
[cacao.git] / src / vm / jit / code.cpp
index a991de2895c9938070b835979e3b0d4f39c9430f..b39852d2ed7a8f20024421d435153fc70bb2bb25 100644 (file)
@@ -37,7 +37,6 @@
 
 #include "vm/jit/code.hpp"
 #include "vm/jit/codegen-common.hpp"
-#include "vm/jit/jitcache.hpp"
 #include "vm/jit/patcher-common.hpp"
 #include "vm/jit/methodtree.h"
 
@@ -67,7 +66,6 @@ void code_init(void)
    The following fields are set in codeinfo:
        m
        patchers
-          cachedrefs
 
    RETURN VALUE:
        a new, initialized codeinfo, or
@@ -85,11 +83,7 @@ codeinfo *code_codeinfo_new(methodinfo *m)
 
        patcher_list_create(code);
 
-#if defined (ENABLE_JITCACHE)
-       jitcache_list_create(code);
-#endif
-
-#if defined (ENABLE_STATISTICS)
+#if defined(ENABLE_STATISTICS)
        if (opt_stat)
                size_codeinfo += sizeof(codeinfo);
 #endif
@@ -240,10 +234,6 @@ void code_codeinfo_free(codeinfo *code)
 
        patcher_list_free(code);
 
-#if defined(ENABLE_JITCACHE)
-       jitcache_list_free(code);
-#endif
-
 #if defined(ENABLE_REPLACEMENT)
        replace_free_replacement_points(code);
 #endif