]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Sat, 25 Oct 2025 17:47:10 +0000 (18:47 +0100)
committerKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Sat, 25 Oct 2025 17:47:10 +0000 (18:47 +0100)
Python/optimizer_symbols.c

index b9747b7fd8410f591154629cc32641c6d234d06d..f16c6b0659f86b32db693d8e35de61cc6da5ee1a 100644 (file)
@@ -936,6 +936,7 @@ _Py_uop_frame_pop(JitOptContext *ctx, PyCodeObject *co, int curr_stackentries)
     // -1 to stackentries as we push to the stack our return value after this.
     _Py_UOpsAbstractFrame *new_frame = _Py_uop_frame_new(ctx, co, curr_stackentries - 1, NULL, 0);
     if (new_frame == NULL) {
+        ctx->done = true;
         return 1;
     }