mirror of https://github.com/m-labs/artiq.git
transforms.int_monomorphizer: visit children of CallT.
This commit is contained in:
parent
46f59b673f
commit
e4615e7b37
|
@ -28,6 +28,8 @@ class IntMonomorphizer(algorithm.Visitor):
|
||||||
node.type["width"].unify(types.TValue(width))
|
node.type["width"].unify(types.TValue(width))
|
||||||
|
|
||||||
def visit_CallT(self, node):
|
def visit_CallT(self, node):
|
||||||
|
self.generic_visit(node)
|
||||||
|
|
||||||
if types.is_builtin(node.func.type, "int") or \
|
if types.is_builtin(node.func.type, "int") or \
|
||||||
types.is_builtin(node.func.type, "round"):
|
types.is_builtin(node.func.type, "round"):
|
||||||
typ = node.type.find()
|
typ = node.type.find()
|
||||||
|
|
Loading…
Reference in New Issue