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

Method add_jump

Compiler/program.py:1057–1060  ·  view source on GitHub ↗

Add the jump for this block's exit condition to list of instructions (must be done after merging)

(self)

Source from the content-addressed store, hash-verified

1055 reg.can_eliminate = False
1056
1057 def add_jump(self):
1058 """Add the jump for this block's exit condition to list of
1059 instructions (must be done after merging)"""
1060 self.instructions.append(self.exit_condition)
1061
1062 def get_offset(self, next_block):
1063 return next_block.offset - (self.offset + len(self.instructions))

Callers 1

optimizeMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected