forked from M-Labs/artiq
1
0
Fork 0

compiler.ir: fix typo.

This commit is contained in:
whitequark 2015-11-23 21:21:01 +08:00
parent 0bf425eefa
commit c73b2c1a78
1 changed files with 2 additions and 2 deletions

View File

@ -232,10 +232,10 @@ class Phi(Instruction):
yield next(operand_iter), next(operand_iter) yield next(operand_iter), next(operand_iter)
def incoming_blocks(self): def incoming_blocks(self):
(block for (block, value) in self.incoming()) return (block for (block, value) in self.incoming())
def incoming_values(self): 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): def incoming_value_for_block(self, target_block):
for (block, value) in self.incoming(): for (block, value) in self.incoming():