2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

compiler: fix typo in a0a2650f.

This commit is contained in:
whitequark 2017-12-26 21:55:22 +00:00
parent edfacbd063
commit 355acb5e13

View File

@ -1813,7 +1813,7 @@ class ARTIQIRGenerator(algorithm.Visitor):
assert None not in args
if self.unwind_target is None or \
types.is_function(callee.type) and "nounwind" in callee.type.flags:
types.is_c_function(callee.type) and "nounwind" in callee.type.flags:
insn = self.append(ir.Call(func, args, arg_exprs))
else:
after_invoke = self.add_block("invoke")