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

Function add_pseudo

Tools/cases_generator/analyzer.py:1178–1189  ·  view source on GitHub ↗
(
    pseudo: parser.Pseudo,
    instructions: dict[str, Instruction],
    pseudos: dict[str, PseudoInstruction],
)

Source from the content-addressed store, hash-verified

1176
1177
1178def add_pseudo(
1179 pseudo: parser.Pseudo,
1180 instructions: dict[str, Instruction],
1181 pseudos: dict[str, PseudoInstruction],
1182) -> None:
1183 pseudos[pseudo.name] = PseudoInstruction(
1184 pseudo.name,
1185 analyze_stack(pseudo),
1186 [instructions[target] for target in pseudo.targets],
1187 pseudo.as_sequence,
1188 pseudo.flags,
1189 )
1190
1191
1192def add_label(

Callers 1

analyze_forestFunction · 0.85

Calls 2

PseudoInstructionClass · 0.85
analyze_stackFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…