forked from M-Labs/artiq
1
0
Fork 0

compiler: fix typo in a0a2650f.

This commit is contained in:
whitequark 2017-12-26 21:55:22 +00:00
parent edfacbd063
commit 355acb5e13
1 changed files with 1 additions and 1 deletions

View File

@ -1813,7 +1813,7 @@ class ARTIQIRGenerator(algorithm.Visitor):
assert None not in args assert None not in args
if self.unwind_target is None or \ 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)) insn = self.append(ir.Call(func, args, arg_exprs))
else: else:
after_invoke = self.add_block("invoke") after_invoke = self.add_block("invoke")