Skip to content

Commit

Permalink
partially address review
Browse files Browse the repository at this point in the history
  • Loading branch information
Fidget-Spinner committed Oct 3, 2024
1 parent d2b0d82 commit 96d371e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PCbuild/regen.targets
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@
WorkingDirectory="$(PySourcePath)" />
<Exec Command="$(PythonForBuild) Tools\cases_generator\optimizer_generator.py Python\optimizer_bytecodes.c Python\bytecodes.c"
WorkingDirectory="$(PySourcePath)" />
<Exec Command="$(PythonForBuild) Tools\cases_generator\partial_evaluator_generator.py Python\partial_evaluator_bytecodes.c Python\bytecodes.c"
WorkingDirectory="$(PySourcePath)" />
<Exec Command="$(PythonForBuild) Tools\cases_generator\opcode_metadata_generator.py Python\bytecodes.c"
WorkingDirectory="$(PySourcePath)" />
<Exec Command="$(PythonForBuild) Tools\cases_generator\uop_metadata_generator.py Python\bytecodes.c"
Expand Down
3 changes: 3 additions & 0 deletions Tools/cases_generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ What's currently here:
- `optimizer_generator.py`: reads `Python/bytecodes.c` and
`Python/optimizer_bytecodes.c` and writes
`Python/optimizer_cases.c.h`
- `partial_evaluator_generator.py`: reads `Python/bytecodes.c` and
`Python/partial_evaluator_bytecodes.c` and writes
`Python/partial_evaluator_cases.c.h`
- `stack.py`: code to handle generalized stack effects
- `cwriter.py`: code which understands tokens and how to format C code;
main class: `CWriter`
Expand Down

0 comments on commit 96d371e

Please sign in to comment.