diff options
author | mpage <mpage@cs.stanford.edu> | 2024-11-06 20:04:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-06 20:04:04 (GMT) |
commit | 9ce4fa0719d291070b6a66fe25716ef1e81448fc (patch) | |
tree | f61355fa6217e212769b52eeaa7d7c7b6ba4e8c5 /Python/sysmodule.c | |
parent | a1c57bcfd2bcbc55ff858407e09c1d8d8cee44e6 (diff) | |
download | cpython-9ce4fa0719d291070b6a66fe25716ef1e81448fc.zip cpython-9ce4fa0719d291070b6a66fe25716ef1e81448fc.tar.gz cpython-9ce4fa0719d291070b6a66fe25716ef1e81448fc.tar.bz2 |
gh-115999: Introduce helpers for (un)specializing instructions (#126414)
Introduce helpers for (un)specializing instructions
Consolidate the code to specialize/unspecialize instructions into
two helper functions and use them in `_Py_Specialize_BinaryOp`.
The resulting code is more concise and keeps all of the logic at
the point where we decide to specialize/unspecialize an instruction.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions