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

Method adjust_jump

Compiler/program.py:1065–1068  ·  view source on GitHub ↗

Set the correct relative jump offset

(self)

Source from the content-addressed store, hash-verified

1063 return next_block.offset - (self.offset + len(self.instructions))
1064
1065 def adjust_jump(self):
1066 """Set the correct relative jump offset"""
1067 offset = self.get_offset(self.exit_block)
1068 self.exit_condition.set_relative_jump(offset)
1069
1070 def purge(self, retain_usage=True):
1071 def relevant(inst):

Callers 1

optimizeMethod · 0.80

Calls 2

get_offsetMethod · 0.95
set_relative_jumpMethod · 0.80

Tested by

no test coverage detected