@classmethod
def from_specialized_function(cls, func_ir, typemap, restype, calltypes,
    mangler, inline, noalias):
    """
        Build a FunctionDescriptor for a given specialization of a Python
        function (in nopython mode).
        """
    return cls._from_python_function(func_ir, typemap, restype, calltypes,
        native=True, mangler=mangler, inline=inline, noalias=noalias)
