JitCompiler::generate_function shouldn't receive LLVMState as argument