* changeset 304a22cd3bae accidently put all changes from the jitcache-arm-x86 to...
[cacao.git] / src / vm / jit / codegen-common.cpp
index 1ecbef32681cd84ad1f8a666a7512b47af89e657..dd1768e588f642b96a4e26bfeaf306bb0f45de03 100644 (file)
@@ -45,8 +45,6 @@
 #include <assert.h>
 #include <string.h>
 
-#include "vm/jit/jitcache.hpp"
-
 #include "vm/types.h"
 
 #include "codegen.h"
@@ -654,13 +652,9 @@ void codegen_finish(jitdata *jd)
        /* jump table resolving */
 
        for (jr = cd->jumpreferences; jr != NULL; jr = jr->next)
-       {
                *((functionptr *) ((ptrint) epoint + jr->tablepos)) =
                        (functionptr) ((ptrint) epoint + (ptrint) jr->target->mpc);
 
-               JITCACHE_ADD_CACHED_REF(code, CRT_JUMPREFERENCE, jr->target->mpc, jr->tablepos);
-       }
-
        /* patcher resolving */
 
        patcher_resolve(jd);