forked from M-Labs/artiq
compiler: fix typo in a0a2650f
.
This commit is contained in:
parent
c44d08a826
commit
4bda29f863
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue