MCPcopy Index your code
hub / github.com/python/mypy / visit_box

Method visit_box

mypyc/codegen/emitfunc.py:668–669  ·  view source on GitHub ↗
(self, op: Box)

Source from the content-addressed store, hash-verified

666 self.emit_dec_ref(src, op.src.type, is_xdec=op.is_xdec)
667
668 def visit_box(self, op: Box) -> None:
669 self.emitter.emit_box(self.reg(op.src), self.reg(op), op.src.type, can_borrow=True)
670
671 def visit_cast(self, op: Cast) -> None:
672 if op.is_unchecked and op.is_borrowed:

Callers

nothing calls this directly

Calls 2

regMethod · 0.95
emit_boxMethod · 0.80

Tested by

no test coverage detected