From: Aleksey Demakov Date: Tue, 9 Oct 2012 17:36:46 +0000 (+0400) Subject: Ifdef out _jit_cache_alloc_no_method(). X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=fc29f8146ba42bad7ab3e3b01ef7f6242fdb092d;p=francis%2Flibjit.git Ifdef out _jit_cache_alloc_no_method(). --- diff --git a/jit/jit-cache.c b/jit/jit-cache.c index 1dac30c..088b71e 100644 --- a/jit/jit-cache.c +++ b/jit/jit-cache.c @@ -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)