mirror of
https://github.com/python/cpython.git
synced 2026-02-06 09:50:43 +00:00
gh-144016: Fix bad stack assert in the JIT optimizer (GH-144019)
This commit is contained in:
parent
4e10fa993a
commit
ca99bfdefb
1 changed files with 1 additions and 1 deletions
|
|
@ -507,7 +507,7 @@ optimize_uops(
|
|||
*(ctx->out_buffer.next++) = *this_instr;
|
||||
}
|
||||
assert(ctx->frame != NULL);
|
||||
if (!CURRENT_FRAME_IS_INIT_SHIM()) {
|
||||
if (!CURRENT_FRAME_IS_INIT_SHIM() && !ctx->done) {
|
||||
DPRINTF(3, " stack_level %d\n", STACK_LEVEL());
|
||||
ctx->frame->stack_pointer = stack_pointer;
|
||||
assert(STACK_LEVEL() >= 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue