Skip to content

Commit

Permalink
transforms.int_monomorphizer: visit children of CallT.
Browse files Browse the repository at this point in the history
whitequark committed Dec 20, 2015
1 parent 46f59b6 commit e4615e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions artiq/compiler/transforms/int_monomorphizer.py
Original file line number Diff line number Diff line change
@@ -28,6 +28,8 @@ def visit_NumT(self, node):
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()

0 comments on commit e4615e7

Please sign in to comment.