From c73b2c1a78c0ef0c9dd57d0446a6b1c8016f6ece Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 23 Nov 2015 21:21:01 +0800 Subject: [PATCH] compiler.ir: fix typo. --- artiq/compiler/ir.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/compiler/ir.py b/artiq/compiler/ir.py index e7756e73b..1c41ca5c1 100644 --- a/artiq/compiler/ir.py +++ b/artiq/compiler/ir.py @@ -232,10 +232,10 @@ class Phi(Instruction): yield next(operand_iter), next(operand_iter) def incoming_blocks(self): - (block for (block, value) in self.incoming()) + return (block for (block, value) in self.incoming()) def incoming_values(self): - (value for (block, value) in self.incoming()) + return (value for (block, value) in self.incoming()) def incoming_value_for_block(self, target_block): for (block, value) in self.incoming():