Do not allocate TypeFunction on the stack