(self, op: Cast)
| 123 | return self.log(op, "unbox", str(op.type)) |
| 124 | |
| 125 | def visit_cast(self, op: Cast) -> Value | None: |
| 126 | value = self.log(op, "cast", str(op.type)) |
| 127 | if not op.is_borrowed: |
| 128 | self.log_inc_ref(value) |
| 129 | return value |
| 130 | |
| 131 | def visit_inc_ref(self, op: IncRef) -> Value: |
| 132 | return self.log(op, "inc_ref", str(op.src.type)) |
nothing calls this directly
no test coverage detected