Call native method.
(self, op: MethodCall)
| 592 | self.emit_line(f"{dest}{lib}{NATIVE_PREFIX}{cname}({args});") |
| 593 | |
| 594 | def visit_method_call(self, op: MethodCall) -> None: |
| 595 | """Call native method.""" |
| 596 | dest = self.get_dest_assign(op) |
| 597 | self.emit_method_call(dest, op.obj, op.method, op.args) |
| 598 | |
| 599 | def emit_method_call(self, dest: str, op_obj: Value, name: str, op_args: list[Value]) -> None: |
| 600 | obj = self.reg(op_obj) |
nothing calls this directly
no test coverage detected