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

Method visit_call_c

mypyc/codegen/emitfunc.py:723–729  ·  view source on GitHub ↗
(self, op: CallC)

Source from the content-addressed store, hash-verified

721 self.emitter.emit_line(f"{self.reg(op)} = 0;")
722
723 def visit_call_c(self, op: CallC) -> None:
724 if op.is_void:
725 dest = ""
726 else:
727 dest = self.get_dest_assign(op)
728 args = ", ".join(self.reg(arg) for arg in op.args)
729 self.emitter.emit_line(f"{dest}{op.function_name}({args});")
730
731 def visit_primitive_op(self, op: PrimitiveOp) -> None:
732 raise RuntimeError(

Callers

nothing calls this directly

Calls 4

get_dest_assignMethod · 0.95
regMethod · 0.95
joinMethod · 0.45
emit_lineMethod · 0.45

Tested by

no test coverage detected