forked from M-Labs/artiq
compiler.types: fix obsolete iodelay references.
This commit is contained in:
parent
d6d0a3e3e9
commit
a0c6f75f9b
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue