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

Function write

Compiler/allocator.py:327–334  ·  view source on GitHub ↗
(reg, n)

Source from the content-addressed store, hash-verified

325 used_from_scope.add(dup)
326
327 def write(reg, n):
328 if last_def[reg] != -1:
329 print('Warning: double write at register', reg)
330 print('\tline %d: %s' % (n, instr))
331 print('\ttrace: %s' % format_trace(instr.caller, '\t\t'))
332 if options.stop:
333 sys.exit(1)
334 last_def[reg] = n
335
336 for n,instr in enumerate(block.instructions):
337 outputs,inputs = instr.get_def(), instr.get_used()

Callers 2

determine_scopeFunction · 0.85
dependency_graphMethod · 0.85

Calls 2

printFunction · 0.85
format_traceFunction · 0.85

Tested by

no test coverage detected