From fc29f8146ba42bad7ab3e3b01ef7f6242fdb092d Mon Sep 17 00:00:00 2001 From: Aleksey Demakov Date: Tue, 9 Oct 2012 21:36:46 +0400 Subject: [PATCH] Ifdef out _jit_cache_alloc_no_method(). --- jit/jit-cache.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.47.3