From 355acb5e132cfa727b52f07e6d9554b5e05d5f2c 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")