From 4bda29f863ccaa463a1fc649077ba7649196ca35 Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 26 Dec 2017 21:55:22 +0000 Subject: [PATCH] compiler: fix typo in a0a2650f. --- artiq/compiler/transforms/artiq_ir_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/compiler/transforms/artiq_ir_generator.py b/artiq/compiler/transforms/artiq_ir_generator.py index f2e9d5bd3..a2f1971dc 100644 --- a/artiq/compiler/transforms/artiq_ir_generator.py +++ b/artiq/compiler/transforms/artiq_ir_generator.py @@ -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")