MCPcopy Index your code
hub / github.com/python/cpython / tier1_generator.py

File tier1_generator.py

Tools/cases_generator/tier1_generator.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Generate the main interpreter switch.
2Reads the instruction definitions from bytecodes.c.
3Writes the cases to generated_cases.c.h, which is #included in ceval.c.
4"""

Callers

nothing calls this directly

Calls 6

analyze_filesFunction · 0.90
generate_tier1Function · 0.85
openFunction · 0.50
add_argumentMethod · 0.45
parse_argsMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected