]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-148571: [JIT] Preserve family-head recorder layouts for specialized opcode familie...
authorHai Zhu <haiizhu@outlook.com>
Tue, 28 Apr 2026 12:41:16 +0000 (20:41 +0800)
committerGitHub <noreply@github.com>
Tue, 28 Apr 2026 12:41:16 +0000 (13:41 +0100)
commitbe968c72100f35bc18a14310be954b56863630da
treebff9acefa260e4b9377e5bd30c614e4872577d53
parent9a57179d74c1a20e3188779696c60c8dd812e6fb
gh-148571: [JIT] Preserve family-head recorder layouts for specialized opcode families (GH-148730)

* Records the same objects for each member of family before execution
* Records derived values when recording the trace
* This makes sure that specialization, or deoptimization, does not cause invalid values to be recorded
Include/internal/pycore_optimizer.h
Lib/test/test_capi/test_opt.py
Lib/test/test_generated_cases.py
Misc/NEWS.d/next/Core_and_Builtins/2026-04-18-16-41-04.gh-issue-148571.Q6WB3A.rst [new file with mode: 0644]
Python/optimizer.c
Python/record_functions.c.h
Tools/cases_generator/record_function_generator.py