Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
handle case there operand is set to null
  • Loading branch information
eendebakpt committed Mar 24, 2026
commit 8af7b51460288fbaf96253cf5eca28588041a9df
2 changes: 1 addition & 1 deletion Python/optimizer_bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ dummy_func(void) {
}

op(_POP_TOP_FLOAT, (value --)) {
if (PyJitRef_IsBorrowed(value)) {
if (PyJitRef_IsBorrowed(value) || sym_is_null(value)) {
ADD_OP(_POP_TOP_NOP, 0, 0);
}
}
Expand Down
2 changes: 1 addition & 1 deletion Python/optimizer_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading