Пример #1
0
 def ret(self, value):
     """
     Return from function with the given *value*.
     """
     return self._set_terminator(instructions.Ret(self.block, "ret", value))
Пример #2
0
 def ret_void(self):
     """
     Return from function without a value.
     """
     return self._set_terminator(instructions.Ret(self.block, "ret void"))