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")