From: Aleksey Demakov Date: Tue, 4 Aug 2009 14:20:13 +0000 (+0700) Subject: remove dead code X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=0a512831afa28227d43006734c12d6f4e1753764;p=francis%2Flibjit.git remove dead code --- diff --git a/jit/jit-compile.c b/jit/jit-compile.c index eea5698..49e3a55 100644 --- a/jit/jit-compile.c +++ b/jit/jit-compile.c @@ -679,19 +679,6 @@ jit_compile_entry(jit_function_t func, void **entry_point) } } - - if(func->is_compiled && !func->builder) - { - /* The function is already compiled, and we don't need to recompile */ - *entry_point = func->entry_point; - return 1; - } - if(!func->builder) - { - /* We don't have anything to compile at all */ - return 0; - } - /* Compile and return the entry point. */ return compile(func, entry_point); }