]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-116168: Remove extra `_CHECK_STACK_SPACE` uops (#117242)
authorPeter Lazorchak <lazorchakp@gmail.com>
Wed, 3 Apr 2024 17:14:18 +0000 (10:14 -0700)
committerGitHub <noreply@github.com>
Wed, 3 Apr 2024 17:14:18 +0000 (17:14 +0000)
commit1c434688866db79082def4f9ef572b85d85908c8
treec253bfd0b3a7db1fda7e98c0ee2321ef100ceb2e
parent976bcb2379709da57073a9e07b518ff51daa617a
gh-116168: Remove extra `_CHECK_STACK_SPACE` uops (#117242)

This merges all `_CHECK_STACK_SPACE` uops in a trace into a single `_CHECK_STACK_SPACE_OPERAND` uop that checks whether there is enough stack space for all calls included in the entire trace.
Include/internal/pycore_uop_ids.h
Include/internal/pycore_uop_metadata.h
Lib/test/test_capi/test_opt.py
Modules/_testinternalcapi.c
Python/bytecodes.c
Python/executor_cases.c.h
Python/optimizer_analysis.c
Python/optimizer_cases.c.h