]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/commitdiff
Ifdef out _jit_cache_alloc_no_method().
authorAleksey Demakov <ademakov@gmail.com>
Tue, 9 Oct 2012 17:36:46 +0000 (21:36 +0400)
committerAleksey Demakov <ademakov@gmail.com>
Tue, 9 Oct 2012 17:36:46 +0000 (21:36 +0400)
jit/jit-cache.c

index 1dac30ccc0779c7458a699029b3afc9b13d2e94c..088b71ed1aa00fbeb2029085e895068586fc8a52 100644 (file)
@@ -709,6 +709,7 @@ _jit_cache_free_closure(jit_cache_t cache, void *closure)
        /* not supported yet */
 }
 
+#if 0
 void *
 _jit_cache_alloc_no_method(jit_cache_t cache, unsigned long size, unsigned long align)
 {
@@ -763,6 +764,7 @@ _jit_cache_alloc_no_method(jit_cache_t cache, unsigned long size, unsigned long
        cache->free_end = ptr;
        return (void *)ptr;
 }
+#endif
 
 jit_function_t
 _jit_cache_get_function(jit_cache_t cache, void *pc)