MCPcopy Index your code
hub / github.com/python/cpython / add_family

Function add_family

Tools/cases_generator/analyzer.py:1161–1175  ·  view source on GitHub ↗
(
    pfamily: parser.Family,
    instructions: dict[str, Instruction],
    families: dict[str, Family],
)

Source from the content-addressed store, hash-verified

1159
1160
1161def add_family(
1162 pfamily: parser.Family,
1163 instructions: dict[str, Instruction],
1164 families: dict[str, Family],
1165) -> None:
1166 family = Family(
1167 pfamily.name,
1168 pfamily.size,
1169 [instructions[member_name] for member_name in pfamily.members],
1170 )
1171 for member in family.members:
1172 member.family = family
1173 # The head of the family is an implicit jump target for DEOPTs
1174 instructions[family.name].is_target = True
1175 families[family.name] = family
1176
1177
1178def add_pseudo(

Callers 1

analyze_forestFunction · 0.85

Calls 1

FamilyClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…