Build function generation into the JIT