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 4e10fa9 commit ca99bfdCopy full SHA for ca99bfd
1 file changed
Python/optimizer_analysis.c
@@ -507,7 +507,7 @@ optimize_uops(
507
*(ctx->out_buffer.next++) = *this_instr;
508
}
509
assert(ctx->frame != NULL);
510
- if (!CURRENT_FRAME_IS_INIT_SHIM()) {
+ if (!CURRENT_FRAME_IS_INIT_SHIM() && !ctx->done) {
511
DPRINTF(3, " stack_level %d\n", STACK_LEVEL());
512
ctx->frame->stack_pointer = stack_pointer;
513
assert(STACK_LEVEL() >= 0);
0 commit comments