Add missing return.

This commit is contained in:
whitequark 2015-07-13 20:52:55 +03:00
parent 7c9afcce85
commit dbdd45acc5
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ class Function(Value):
self.basic_block.remove(basic_block)
def predecessors_of(self, successor):
set(block for block in self.basic_blocks if successor in block.successors())
return set(block for block in self.basic_blocks if successor in block.successors())
def as_operand(self):
return "{} @{}".format(types.TypePrinter().name(self.type),