'Fill and return the calltypes map.'

def get_function_types(self, typemap):

    calltypes = self.calltypes
    for (call, constraint) in self.calls:
        calltypes[call] = constraint.get_call_signature()
    return calltypes
