MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / adjust_return

Method adjust_return

Compiler/program.py:1043–1045  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1041 self.sub_block = sub_block
1042
1043 def adjust_return(self):
1044 offset = self.sub_block.get_offset(self)
1045 self.previous_block.return_address_store.args[1] = offset
1046
1047 def set_exit(self, condition, exit_true=None):
1048 """Sets the block which we start from next, depending on the condition.

Callers 1

optimizeMethod · 0.80

Calls 1

get_offsetMethod · 0.45

Tested by

no test coverage detected