* changeset 304a22cd3bae accidently put all changes from the jitcache-arm-x86 to...
[cacao.git] / src / vm / class.cpp
index 9a229f11b189971c11e74319fcf188062ceffe1a..1f8c5622f56266e75a1ec7538fe8bee2eb9e0b78 100644 (file)
@@ -51,7 +51,6 @@
 #include "vm/global.h"
 #include "vm/globals.hpp"
 #include "vm/javaobjects.hpp"
-#include "vm/jit/jitcache.hpp"
 #include "vm/linker.h"
 #include "vm/loader.hpp"
 #include "vm/options.h"
@@ -177,9 +176,6 @@ classinfo *class_create_classinfo(utf *classname)
 
        if (classname != utf_not_named_yet)
                class_set_packagename(c);
-#if defined (ENABLE_JITCACHE)
-    c->cache_file_fd = 0;
-#endif
 
        c->object.header.lockword.init();
 
@@ -724,11 +720,6 @@ void class_free(classinfo *c)
        s4 i;
        vftbl_t *v;
 
-#if defined(ENABLE_JITCACHE)
-/* TODO: Find a way around the linker problem */
-/*    jitcache_freeclass(c);*/
-#endif
-
        class_freecpool(c);
 
        if (c->interfaces != NULL)