forked from M-Labs/artiq
compiler: fix typo in a0a2650f
.
This commit is contained in:
parent
edfacbd063
commit
355acb5e13
|
@ -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