Use a primitive's jit-func if it exists.