Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Adds a null check to handle when the JIT optimizer runs out of space when dealing with contradictions in ``make_bottom``.
3 changes: 3 additions & 0 deletions Python/optimizer_symbols.c
Original file line number Diff line number Diff line change
Expand Up @@ -1684,6 +1684,9 @@ static JitOptSymbol *
make_bottom(JitOptContext *ctx)
{
JitOptSymbol *sym = sym_new(ctx);
if (sym == NULL) {
return out_of_space(ctx);
}
sym->tag = JIT_SYM_BOTTOM_TAG;
return sym;
}
Expand Down
Loading