mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
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
Block a user