def ret(self, value): """ Return from function with the given *value*. """ return self._set_terminator(instructions.Ret(self.block, "ret", value))
def ret_void(self): """ Return from function without a value. """ return self._set_terminator(instructions.Ret(self.block, "ret void"))