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

Function add_label

Tools/cases_generator/analyzer.py:1192–1197  ·  view source on GitHub ↗
(
    label: parser.LabelDef,
    labels: dict[str, Label],
)

Source from the content-addressed store, hash-verified

1190
1191
1192def add_label(
1193 label: parser.LabelDef,
1194 labels: dict[str, Label],
1195) -> None:
1196 properties = compute_properties(label)
1197 labels[label.name] = Label(label.name, label.spilled, label.block, properties)
1198
1199
1200def assign_opcodes(

Callers 1

analyze_forestFunction · 0.85

Calls 2

compute_propertiesFunction · 0.85
LabelClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…