forked from M-Labs/artiq
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))
|
||||
|
||||
def visit_CallT(self, node):
|
||||
self.generic_visit(node)
|
||||
|
||||
if types.is_builtin(node.func.type, "int") or \
|
||||
types.is_builtin(node.func.type, "round"):
|
||||
typ = node.type.find()
|
||||
|
|
Loading…
Reference in New Issue