We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78b1370 commit ee4548cCopy full SHA for ee4548c
Python/optimizer_analysis.c
@@ -468,7 +468,7 @@ optimize_uops(
468
ctx->out_buffer[ctx->out_len++] = *this_instr;
469
}
470
assert(ctx->frame != NULL);
471
- if (!CURRENT_FRAME_IS_INIT_SHIM()) {
+ if (!CURRENT_FRAME_IS_INIT_SHIM() && !ctx->done) {
472
DPRINTF(3, " stack_level %d\n", STACK_LEVEL());
473
ctx->frame->stack_pointer = stack_pointer;
474
assert(STACK_LEVEL() >= 0);
0 commit comments