mirror of
https://github.com/python/cpython.git
synced 2025-10-26 11:14:33 +00:00
[3.14] gh-137728 gh-137762: Fix bugs in the JIT with many local variables (GH-137764) (#137999)
Co-authored-by: Ken Jin <kenjin@python.org>
This commit is contained in:
parent
bb3c3d4444
commit
cf5c170c1b
3 changed files with 9 additions and 4 deletions
|
|
@ -449,13 +449,10 @@ optimize_uops(
|
|||
_Py_uop_abstractcontext_init(ctx);
|
||||
_Py_UOpsAbstractFrame *frame = _Py_uop_frame_new(ctx, co, curr_stacklen, NULL, 0);
|
||||
if (frame == NULL) {
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
ctx->curr_frame_depth++;
|
||||
ctx->frame = frame;
|
||||
ctx->done = false;
|
||||
ctx->out_of_space = false;
|
||||
ctx->contradiction = false;
|
||||
|
||||
_PyUOpInstruction *this_instr = NULL;
|
||||
for (int i = 0; !ctx->done; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue