]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/commitdiff
remove dead code
authorAleksey Demakov <ademakov@gmail.com>
Tue, 4 Aug 2009 14:20:13 +0000 (21:20 +0700)
committerAleksey Demakov <ademakov@gmail.com>
Tue, 4 Aug 2009 14:20:13 +0000 (21:20 +0700)
jit/jit-compile.c

index eea569856a85e2005e41c8366b05869f4231a965..49e3a5553f1902ee7ce5cf2729c12b758d1649ad 100644 (file)
@@ -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);
 }