forked from M-Labs/artiq
1
0
Fork 0

compiler.types: fix obsolete iodelay references.

This commit is contained in:
whitequark 2015-11-07 15:14:19 +03:00
parent d6d0a3e3e9
commit a0c6f75f9b
1 changed files with 5 additions and 5 deletions

View File

@ -262,9 +262,9 @@ class TRPCFunction(TFunction):
attributes = OrderedDict() attributes = OrderedDict()
def __init__(self, args, optargs, ret, service): def __init__(self, args, optargs, ret, service):
super().__init__(args, optargs, ret, super().__init__(args, optargs, ret)
delay=FixedDelay(iodelay.Constant(0)))
self.service = service self.service = service
self.delay = TFixedDelay(iodelay.Const(0))
def unify(self, other): def unify(self, other):
if isinstance(other, TRPCFunction) and \ if isinstance(other, TRPCFunction) and \
@ -285,9 +285,9 @@ class TCFunction(TFunction):
attributes = OrderedDict() attributes = OrderedDict()
def __init__(self, args, ret, name): def __init__(self, args, ret, name):
super().__init__(args, OrderedDict(), ret, super().__init__(args, OrderedDict(), ret)
delay=FixedDelay(iodelay.Constant(0)))
self.name = name self.name = name
self.delay = TFixedDelay(iodelay.Const(0))
def unify(self, other): def unify(self, other):
if isinstance(other, TCFunction) and \ if isinstance(other, TCFunction) and \