gh-149459: Fix segfault when `_LOAD_SPECIAL` guard deoptimizes (#149478) · devdanzin/cpython@c341e34 · GitHub
Skip to content

Commit c341e34

Browse files
authored
pythongh-149459: Fix segfault when _LOAD_SPECIAL guard deoptimizes (python#149478)
1 parent d2d24e4 commit c341e34

4 files changed

Lines changed: 30 additions & 2 deletions

File tree

Lib/test/test_capi/test_opt.py

Lines changed: 14 additions & 0 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix a crash in the JIT optimizer when a specialized ``LOAD_SPECIAL`` guard deoptimized after inserting the synthetic ``NULL`` stack entry.

Python/optimizer_bytecodes.c

Lines changed: 10 additions & 1 deletion

Python/optimizer_cases.c.h

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)