* merged default branch into jitcache-arm-x86 branch
[cacao.git] / src / vm / vm.cpp
index d05bef1af2d23e69526681cadf2f2987bb03ac0c..f50e37732d3b5b91cfa91b46d7a23e9cdbc0f859 100644 (file)
@@ -88,7 +88,7 @@
 # include "vm/jit/disass.h"
 #endif
 
-#include "vm/jit/jit.hpp"
+#include "vm/jit/jitcache.hpp"
 #include "vm/jit/methodtree.h"
 
 #if defined(ENABLE_PROFILING)
@@ -1915,6 +1915,10 @@ void vm_shutdown(s4 status)
        }       
 #endif
 
+#if defined (ENABLE_JITCACHE)
+  jitcache_quit();
+#endif
+
        exit(status);
 }